Cleaned up project files
authorAndy Nichols <andy.nichols@nokia.com>
Tue, 13 Sep 2011 11:37:18 +0000 (13:37 +0200)
committerAndy Nichols <andy.nichols@nokia.com>
Tue, 13 Sep 2011 11:37:18 +0000 (13:37 +0200)
Removed references to Widgets module that is not needed anymore.  Also
make qml-compositor deployable with make install.

examples/qml-compositor/qml-compositor.pro
examples/qwindow-compositor/qwindow-compositor.pro
src/qt-compositor/qt-compositor.pro

index 4390133..aea2fdc 100644 (file)
@@ -1,7 +1,3 @@
-qml_folder.source = qml/QmlCompositor
-qml_folder.target = qml
-DEPLOYMENTFOLDERS = qml_folder
-
 TEMPLATE = app
 TARGET = qml-compositor
 DEPENDPATH += .
@@ -14,11 +10,11 @@ DESTDIR=$$PWD/../../bin/
 
 LIBS += -L ../../lib
 
-QT += declarative
+QT += declarative v8
 QT += opengl
 
 # to be removed once scenegraph gets rid of its widget dependencies
-QT += widgets widgets-private
+#QT += widgets widgets-private
 
 !isEmpty(QT.core.MAJOR_VERSION):greaterThan(QT.core.MAJOR_VERSION, 4) {
     QT += core-private gui-private declarative-private opengl-private
@@ -26,6 +22,9 @@ QT += widgets widgets-private
 
 include (../../src/qt-compositor/qt-compositor.pri)
 
+target.path += $$[QT_INSTALL_BINS]
+INSTALLS += target
+
 # Input
 SOURCES += main.cpp
 RESOURCES = qml-compositor.qrc
index 5b160a8..f0aa50d 100644 (file)
@@ -8,6 +8,7 @@ CONFIG += use_pkgconfig
 
 DESTDIR=$$PWD/../../bin/
 
+LIBS += -L ../../lib
 include (../../src/qt-compositor/qt-compositor.pri)
 
 # Input
index d24766d..0d12277 100644 (file)
@@ -13,4 +13,3 @@ headers.files = $$HEADERS
 INSTALLS = target headers
 
 QT += gui-private
-QT += widgets-private