Browse Source

don't want frameworks on mac, cramping my style

Donald Carr 9 years ago
parent
commit
77d10c8e37
1 changed files with 13 additions and 15 deletions
  1. 13 15
      qtmediahub.pro

+ 13 - 15
qtmediahub.pro

@@ -1,20 +1,18 @@
 TEMPLATE = subdirs
 
-SUBDIRS = src \
-          src/plugins
-
-builtin-components {
-    #Currently flakey
-    QMAKE_CACHE=.qmake.cache
+QMAKE_CACHE=.qmake.cache
 
-    !exists($$QMAKE_CACHE) {
-        message(creating .qmake.cache)
-        message(Dont check it in and be sure to flush it if you relocate your src tree)
+!exists($$QMAKE_CACHE) {
+    message(creating .qmake.cache)
+    message(Dont check it in and be sure to flush it if you relocate your src tree)
 #gonna want a Windows friendly version of this as well
-        system(echo "PROJECTROOT=$$PWD" > $$QMAKE_CACHE)
-        system(echo "Q_COMPONENTS_SOURCE_TREE=$$PWD/src/3rdparty/qt-components" >> $$QMAKE_CACHE)
-        system(echo "Q_COMPONENTS_BUILD_TREE=$$PWD/hub/resources" >> $$QMAKE_CACHE)
-        system(echo "CONFIG+=mx" >> $$QMAKE_CACHE)
-    }
-    SUBDIRS += src/3rdparty/qt-components/qt-components.pro
+    system(echo "PROJECTROOT=$$PWD" > $$QMAKE_CACHE)
+    system(echo "Q_COMPONENTS_SOURCE_TREE=$$PWD/src/3rdparty/qt-components" >> $$QMAKE_CACHE)
+    system(echo "Q_COMPONENTS_BUILD_TREE=$$PWD/hub/resources" >> $$QMAKE_CACHE)
+    system(echo "CONFIG+=mx" >> $$QMAKE_CACHE)
+    system(echo "CONFIG-=qt_framework" >> $$QMAKE_CACHE)
 }
+
+SUBDIRS = src \
+          src/plugins \
+          src/3rdparty/qt-components/qt-components.pro