Skip to content

Instantly share code, notes, and snippets.

@bbandix
Forked from anonymous/gist:6994384
Created October 15, 2013 16:32
Show Gist options
  • Save bbandix/6994479 to your computer and use it in GitHub Desktop.
Save bbandix/6994479 to your computer and use it in GitHub Desktop.
diff --git a/qtwebengine.pro b/qtwebengine.pro
index 5db155c..a0d69b8 100644
--- a/qtwebengine.pro
+++ b/qtwebengine.pro
@@ -1,3 +1,5 @@
+load(qt_parts)
+
TEMPLATE = subdirs
CONFIG += ordered
@@ -13,14 +15,6 @@ SUBDIRS = build/qmake_extras \ # Phony pro file that extracts things like compil
# Now build the API libraries
lib/quick
-qtHaveModule(widgets) {
- SUBDIRS += \
- lib/widgets \
- tests/widgets
-}
-
-SUBDIRS += examples
-
# Ninja executable location needs to be determined early for extra targets. Should be fetched from cache most of the
NINJA_EXECUTABLE = $$findOrBuildNinja()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment