diff options
author | Robert Griebl <rgriebl@trolltech.com> | 2009-07-27 15:26:57 (GMT) |
---|---|---|
committer | Robert Griebl <rgriebl@trolltech.com> | 2009-07-29 08:55:02 (GMT) |
commit | 7ee964bea3ba3ed31f36c8110789509edcbfbd54 (patch) | |
tree | 79293eb2ac291abc4c73d1e4310f1d759803bd4c | |
parent | 2ce3e9c150798b12d5b434ed25fc37c96972fb8b (diff) | |
download | Qt-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.pro | 5 | ||||
-rw-r--r-- | examples/ipc/ipc.pro | 3 | ||||
-rw-r--r-- | examples/itemviews/chart/chart.pro | 2 | ||||
-rw-r--r-- | examples/network/network.pro | 4 | ||||
-rw-r--r-- | examples/painting/painterpaths/painterpaths.pro | 2 | ||||
-rw-r--r-- | examples/qws/qws.pro | 4 | ||||
-rw-r--r-- | examples/threads/mandelbrot/mandelbrot.pro | 2 |
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 |