summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Abecasis <joao@abecasis.name>2009-09-30 14:05:23 (GMT)
committerJoão Abecasis <joao@abecasis.name>2009-09-30 14:08:10 (GMT)
commit68f709fb180af94af259a9afb873b9548c97c0fb (patch)
tree162463b16003cbae398eec408d97433b774ef059
parentfa3cda0324324f595d0d1231027443673b7c05ea (diff)
downloadQt-68f709fb180af94af259a9afb873b9548c97c0fb.zip
Qt-68f709fb180af94af259a9afb873b9548c97c0fb.tar.gz
Qt-68f709fb180af94af259a9afb873b9548c97c0fb.tar.bz2
Moving some QVFB stuff out of the configure script and into .pro files
Reviewed-by: Paul Olav Tvete
-rwxr-xr-xconfigure10
-rw-r--r--tools/qvfb/qvfb.pro11
-rw-r--r--tools/qvfb/translations/translations.pro12
3 files changed, 12 insertions, 21 deletions
diff --git a/configure b/configure
index f89da70..e86d008 100755
--- a/configure
+++ b/configure
@@ -2232,16 +2232,6 @@ if [ "$OPT_SHADOW" = "yes" ]; then
ln -s "$relpath/tools/porting/src/q3porting.xml" "$outpath/tools/porting/src"
fi
-# symlink files from src/gui/embedded neccessary to build qvfb
-if [ "$CFG_DEV" = "yes" ]; then
- mkdir -p "$outpath/tools/qvfb"
- for f in qvfbhdr.h qlock_p.h qlock.cpp qwssignalhandler_p.h qwssignalhandler.cpp; do
- dest="${outpath}/tools/qvfb/${f}"
- rm -f "$dest"
- ln -s "${relpath}/src/gui/embedded/${f}" "${dest}"
- done
-fi
-
# symlink fonts to be able to run application from build directory
if [ "$PLATFORM_QWS" = "yes" ] && [ ! -e "${outpath}/lib/fonts" ]; then
if [ "$PLATFORM" = "$XPLATFORM" ]; then
diff --git a/tools/qvfb/qvfb.pro b/tools/qvfb/qvfb.pro
index 247337a..dde7e8d 100644
--- a/tools/qvfb/qvfb.pro
+++ b/tools/qvfb/qvfb.pro
@@ -9,6 +9,7 @@ target.path=$$[QT_INSTALL_BINS]
INSTALLS += target
DEPENDPATH = ../../include
+INCLUDEPATH += ../../src/gui/embedded
FORMS = config.ui
HEADERS = qvfb.h \
@@ -19,9 +20,9 @@ HEADERS = qvfb.h \
qvfbprotocol.h \
qvfbshmem.h \
qvfbmmap.h \
- qvfbhdr.h \
- qlock_p.h \
- qwssignalhandler_p.h
+ ../../src/gui/embedded/qvfbhdr.h \
+ ../../src/gui/embedded/qlock_p.h \
+ ../../src/gui/embedded/qwssignalhandler_p.h
SOURCES = qvfb.cpp \
qvfbview.cpp \
@@ -31,8 +32,8 @@ SOURCES = qvfb.cpp \
qvfbprotocol.cpp \
qvfbshmem.cpp \
qvfbmmap.cpp \
- qlock.cpp \
- qwssignalhandler.cpp
+ ../../src/gui/embedded/qlock.cpp \
+ ../../src/gui/embedded/qwssignalhandler.cpp
include($$QT_SOURCE_TREE/tools/shared/deviceskin/deviceskin.pri)
diff --git a/tools/qvfb/translations/translations.pro b/tools/qvfb/translations/translations.pro
index f667bb8..17579f7 100644
--- a/tools/qvfb/translations/translations.pro
+++ b/tools/qvfb/translations/translations.pro
@@ -9,10 +9,10 @@ HEADERS = ../qvfb.h \
../qvfbprotocol.h \
../qvfbshmem.h \
../qvfbmmap.h \
- ../qvfbhdr.h \
- ../qlock_p.h \
- ../qwssignalhandler_p.h \
- ../../shared/deviceskin/deviceskin.cpp
+ ../../../src/gui/embedded/qvfbhdr.h \
+ ../../../src/gui/embedded/qlock_p.h \
+ ../../../src/gui/embedded/qwssignalhandler_p.h \
+ ../../shared/deviceskin/deviceskin.h
SOURCES = ../qvfb.cpp \
../qvfbview.cpp \
@@ -22,8 +22,8 @@ SOURCES = ../qvfb.cpp \
../qvfbprotocol.cpp \
../qvfbshmem.cpp \
../qvfbmmap.cpp \
- ../qlock.cpp \
- ../qwssignalhandler.cpp \
+ ../../../src/gui/embedded/qlock.cpp \
+ ../../../src/gui/embedded/qwssignalhandler.cpp \
../../shared/deviceskin/deviceskin.cpp
TRANSLATIONS=$$[QT_INSTALL_TRANSLATIONS]/qvfb_pl.ts \