Arreglado un pequeno bug.

git-svn-id: https://opengnsys.es/svn/trunk@828 a21b9725-9963-47de-94b9-378ad31fedc9
remotes/github/master
adelcastillo 2010-03-21 12:38:36 +00:00
parent 0b5cc5ad64
commit c1e4a932fc
2 changed files with 20 additions and 27 deletions

View File

@ -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();
}

View File

@ -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