Arreglado un pequeno bug.
git-svn-id: https://opengnsys.es/svn/trunk@828 a21b9725-9963-47de-94b9-378ad31fedc9remotes/github/master
parent
0b5cc5ad64
commit
c1e4a932fc
16
src/main.cpp
16
src/main.cpp
|
@ -1,17 +1,11 @@
|
|||
#include <QtGui/QApplication>
|
||||
#include "core.h"
|
||||
#include <stdio.h>
|
||||
#include "mainwindow.h"
|
||||
#include <QDebug>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
if(argc<=1)
|
||||
{
|
||||
printf("Usage: %s http://siteweb.com/\n",argv[0]);
|
||||
return -1;
|
||||
}
|
||||
|
||||
QApplication a(argc, argv);
|
||||
MainWindow w;
|
||||
w.show();
|
||||
return a.exec();
|
||||
QApplication a(argc, argv);
|
||||
Core* core=new Core();
|
||||
return a.exec();
|
||||
}
|
||||
|
|
31
src/src.pro
31
src/src.pro
|
@ -7,23 +7,22 @@ QT += core gui webkit
|
|||
|
||||
MOC_DIR = ../.moc
|
||||
|
||||
CONFIG(debug, debug|release) {
|
||||
OBJECTS_DIR = ../.objs_d
|
||||
TARGET = browser_d
|
||||
LIBS += -L.. ../libqtermwidget_d.a
|
||||
} else {
|
||||
OBJECTS_DIR = ../.objs
|
||||
TARGET = browser
|
||||
LIBS += -L.. ../libqtermwidget.a
|
||||
}
|
||||
# CONFIG(debug, debug|release) {
|
||||
# OBJECTS_DIR = ../.objs_d
|
||||
# TARGET = browser_d
|
||||
# LIBS += -L.. #../libqtermwidget_d.a
|
||||
#} else {
|
||||
# OBJECTS_DIR = ../.objs
|
||||
# TARGET = browser
|
||||
# LIBS += -L.. #../libqtermwidget.a
|
||||
#}
|
||||
|
||||
SOURCES = main.cpp mainwindow.cpp
|
||||
OBJECTS_DIR = ../.objs
|
||||
TARGET = browser
|
||||
LIBS += -L.. -lqtermwidget
|
||||
|
||||
HEADERS = mainwindow.h
|
||||
SOURCES = main.cpp core.cpp config.cpp browser.cpp adminbrowser.cpp logfile.cpp
|
||||
|
||||
HEADERS = core.h config.h browser.h adminbrowser.h logfile.h
|
||||
|
||||
INCLUDEPATH = ../qtermwidget/src
|
||||
|
||||
#LIBS += -L.. -lqtermwidget
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue