summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Griebl <rgriebl@trolltech.com>2009-07-27 15:26:57 (GMT)
committerRobert Griebl <rgriebl@trolltech.com>2009-07-29 08:55:02 (GMT)
commit7ee964bea3ba3ed31f36c8110789509edcbfbd54 (patch)
tree79293eb2ac291abc4c73d1e4310f1d759803bd4c
parent2ce3e9c150798b12d5b434ed25fc37c96972fb8b (diff)
downloadQt-7ee964bea3ba3ed31f36c8110789509edcbfbd54.zip
Qt-7ee964bea3ba3ed31f36c8110789509edcbfbd54.tar.gz
Qt-7ee964bea3ba3ed31f36c8110789509edcbfbd54.tar.bz2
Fix compilation errors in examples and demos on VxWorks and QNX.
Reviewed-by: Harald Fernengel
-rw-r--r--demos/embedded/embedded.pro5
-rw-r--r--examples/ipc/ipc.pro3
-rw-r--r--examples/itemviews/chart/chart.pro2
-rw-r--r--examples/network/network.pro4
-rw-r--r--examples/painting/painterpaths/painterpaths.pro2
-rw-r--r--examples/qws/qws.pro4
-rw-r--r--examples/threads/mandelbrot/mandelbrot.pro2
7 files changed, 14 insertions, 8 deletions
diff --git a/demos/embedded/embedded.pro b/demos/embedded/embedded.pro
index 7428b9f..4fd8f9f 100644
--- a/demos/embedded/embedded.pro
+++ b/demos/embedded/embedded.pro
@@ -2,8 +2,9 @@ TEMPLATE = subdirs
SUBDIRS = styledemo
contains(QT_CONFIG, svg) {
- SUBDIRS += embeddedsvgviewer \
- fluidlauncher
+ SUBDIRS += embeddedsvgviewer
+ # no QProcess
+ !vxworks:!qnx:SUBDIRS += fluidlauncher
}
# install
diff --git a/examples/ipc/ipc.pro b/examples/ipc/ipc.pro
index 0698f89..9098936 100644
--- a/examples/ipc/ipc.pro
+++ b/examples/ipc/ipc.pro
@@ -1,5 +1,6 @@
TEMPLATE = subdirs
-SUBDIRS = sharedmemory
+# no QSharedMemory
+!vxworks:!qnx:SUBDIRS = sharedmemory
!wince*: SUBDIRS += localfortuneserver localfortuneclient
# install
diff --git a/examples/itemviews/chart/chart.pro b/examples/itemviews/chart/chart.pro
index d202451..7a9d197 100644
--- a/examples/itemviews/chart/chart.pro
+++ b/examples/itemviews/chart/chart.pro
@@ -4,7 +4,7 @@ RESOURCES = chart.qrc
SOURCES = main.cpp \
mainwindow.cpp \
pieview.cpp
-unix:!mac:LIBS+= -lm
+unix:!mac:!vxworks:LIBS+= -lm
# install
target.path = $$[QT_INSTALL_EXAMPLES]/itemviews/chart
diff --git a/examples/network/network.pro b/examples/network/network.pro
index 8c45745..adf998f 100644
--- a/examples/network/network.pro
+++ b/examples/network/network.pro
@@ -2,7 +2,6 @@ TEMPLATE = subdirs
SUBDIRS = blockingfortuneclient \
broadcastreceiver \
broadcastsender \
- network-chat \
download \
downloadmanager \
fortuneclient \
@@ -14,6 +13,9 @@ SUBDIRS = blockingfortuneclient \
googlesuggest \
torrent
+# no QProcess
+!vxworks:!qnx:SUBDIRS += network-chat
+
contains(QT_CONFIG, openssl):SUBDIRS += securesocketclient
# install
diff --git a/examples/painting/painterpaths/painterpaths.pro b/examples/painting/painterpaths/painterpaths.pro
index 76c9e82..98b9bd1 100644
--- a/examples/painting/painterpaths/painterpaths.pro
+++ b/examples/painting/painterpaths/painterpaths.pro
@@ -3,7 +3,7 @@ HEADERS = renderarea.h \
SOURCES = main.cpp \
renderarea.cpp \
window.cpp
-unix:!mac:LIBS += -lm
+unix:!mac:!vxworks:LIBS += -lm
# install
target.path = $$[QT_INSTALL_EXAMPLES]/painting/painterpaths
diff --git a/examples/qws/qws.pro b/examples/qws/qws.pro
index fb3c3c7..95e1b44 100644
--- a/examples/qws/qws.pro
+++ b/examples/qws/qws.pro
@@ -1,5 +1,7 @@
TEMPLATE = subdirs
-SUBDIRS = framebuffer mousecalibration simpledecoration
+# no /dev/fbX
+!qnx:!vxworks:SUBDIRS = framebuffer
+SUBDIRS += mousecalibration simpledecoration
# install
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS README *.pro
diff --git a/examples/threads/mandelbrot/mandelbrot.pro b/examples/threads/mandelbrot/mandelbrot.pro
index 437f449..7870ca8 100644
--- a/examples/threads/mandelbrot/mandelbrot.pro
+++ b/examples/threads/mandelbrot/mandelbrot.pro
@@ -4,7 +4,7 @@ SOURCES = main.cpp \
mandelbrotwidget.cpp \
renderthread.cpp
-unix:!mac:LIBS += -lm
+unix:!mac:!vxworks:LIBS += -lm
# install
target.path = $$[QT_INSTALL_EXAMPLES]/threads/mandelbrot