Cambiando a qmake de nuevo.

git-svn-id: https://opengnsys.es/svn/trunk@518 a21b9725-9963-47de-94b9-378ad31fedc9
remotes/github/master
adelcastillo 2009-11-06 17:03:06 +00:00
parent 9d8d1637f0
commit 8ab4781a53
18 changed files with 86 additions and 13 deletions

View File

@ -21,7 +21,7 @@ include_directories(qtermwidget/src/ ${QT_INCLUDES} ${QT_QTWEBKIT_INCLUDE_DIR})
add_subdirectory(qtermwidget)
set(browser_SRCS main.cpp mainwindow.cpp)
set(browser_SRCS src/main.cpp src/mainwindow.cpp)
qt4_automoc(${browser_SRCS})

4
browser.pro 100644
View File

@ -0,0 +1,4 @@
TEMPLATE = subdirs
SUBDIRS = qtermwidget src
OPTIONS += ordered

View File

@ -0,0 +1,4 @@
TEMPLATE = subdirs
SUBDIRS = src
OPTIONS += ordered

View File

@ -25,7 +25,6 @@
// Own
#include "Emulation.h"
#include "Emulation.moc"
// System
#include <assert.h>

View File

@ -21,7 +21,6 @@
// Own
#include "Filter.h"
#include "Filter.moc"
// System

View File

@ -22,7 +22,6 @@
// Own
#include "Pty.h"
#include "Pty.moc"
// System
#include <sys/types.h>

View File

@ -21,7 +21,6 @@
// Own
#include "ScreenWindow.h"
#include "ScreenWindow.moc"
// Qt
#include <QtCore>

View File

@ -24,7 +24,6 @@
// Own
#include "Session.h"
#include "Session.moc"
// Standard
#include <assert.h>

View File

@ -24,7 +24,6 @@
// Own
#include "TerminalDisplay.h"
#include "TerminalDisplay.moc"
// Qt
#include <QtGui/QApplication>

View File

@ -22,7 +22,6 @@
// Own
#include "Vt102Emulation.h"
#include "Vt102Emulation.moc"
//#include <config-konsole.h>

View File

@ -22,7 +22,6 @@
#include "k3process.h"
#include "k3process.moc"
//#include <config.h>
#include "k3processcontroller.h"

View File

@ -20,7 +20,6 @@
*/
#include "k3processcontroller.h"
#include "k3processcontroller.moc"
#include "k3process.h"
//#include <config.h>

View File

@ -18,7 +18,6 @@
#include "qtermwidget.h"
#include "qtermwidget.moc"
#include "Session.h"
#include "TerminalDisplay.h"

View File

@ -0,0 +1,48 @@
TEMPLATE = lib
VERSION = 0.1.0
DESTDIR = ../..
TARGET = qtermwidget
CONFIG += qt debug_and_release warn_on build_all staticlib #dll
QT += core gui
MOC_DIR = ../../.moc
CONFIG(debug, debug|release) {
OBJECTS_DIR = ../../.objs_d
TARGET = qtermwidget_d
} else {
OBJECTS_DIR = ../../.objs
TARGET = qtermwidget
}
DEFINES += HAVE_POSIX_OPENPT
#or DEFINES += HAVE_GETPT
HEADERS = TerminalCharacterDecoder.h Character.h CharacterColor.h \
KeyboardTranslator.h \
ExtendedDefaultTranslator.h \
Screen.h History.h BlockArray.h konsole_wcwidth.h \
ScreenWindow.h \
Emulation.h \
Vt102Emulation.h TerminalDisplay.h Filter.h LineFont.h \
Pty.h kpty.h kpty_p.h k3process.h k3processcontroller.h \
Session.h ShellCommand.h \
qtermwidget.h
SOURCES = TerminalCharacterDecoder.cpp \
KeyboardTranslator.cpp \
Screen.cpp History.cpp BlockArray.cpp konsole_wcwidth.cpp \
ScreenWindow.cpp \
Emulation.cpp \
Vt102Emulation.cpp TerminalDisplay.cpp Filter.cpp \
Pty.cpp kpty.cpp k3process.cpp k3processcontroller.cpp \
Session.cpp ShellCommand.cpp \
qtermwidget.cpp

View File

@ -16,8 +16,6 @@
#include "qtermwidget.h"
#include "mainwindow.moc"
#define BUFFERSIZE 2048
#define EXPREG_RESET "^\\[(\\d+),(\\d+)\\]\\n"
#define EXPREG_A_PASS "^\\[(\\d+)\\]\\s"

29
src/src.pro 100644
View File

@ -0,0 +1,29 @@
TEMPLATE = app
DESTDIR = ..
CONFIG += qt debug_and_release warn_on build_all static
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
}
SOURCES = main.cpp mainwindow.cpp
HEADERS = mainwindow.h
INCLUDEPATH = ../qtermwidget/src
#LIBS += -L.. -lqtermwidget