Skip to content

Instantly share code, notes, and snippets.

@azbesthu
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azbesthu/9050466 to your computer and use it in GitHub Desktop.
Save azbesthu/9050466 to your computer and use it in GitHub Desktop.
config differencies
diff --git a/src/core/core_gyp_generator.pro b/src/core/core_gyp_generator.pro
index f067895..9d06eba 100644
--- a/src/core/core_gyp_generator.pro
+++ b/src/core/core_gyp_generator.pro
@@ -1,7 +1,8 @@
# This is a dummy .pro file used to extract some aspects of the used configuration and feed them to gyp
# We want the gyp generation step to happen after all the other config steps. For that we need to prepend
# our gyp_generator.prf feature to the CONFIG variable since it is processed backwards
-CONFIG = gyp_generator $$CONFIG
+CONFIG = gyp_generator $$CONFIG
+win32:CONFIG += skip_target_version_ext
GYPFILE = $$PWD/core_generated.gyp
GYPINCLUDES += qtwebengine.gypi
@@ -105,7 +106,8 @@ load(resolve_target)
TARGET_NAME = $$basename(QMAKE_RESOLVED_TARGET)
TARGET_NAME = $$replace(TARGET_NAME, .$${VERSION},)
-target.files = $$getOutDir()/$$getConfigDir()/lib/$$TARGET_NAME
+win32:target.files = $$getOutDir()/$$getConfigDir()/$$TARGET_NAME
+else: target.files = $$getOutDir()/$$getConfigDir()/lib/$$TARGET_NAME
target.CONFIG += no_check_exist # Trust us, qmake...
target.path = $$[QT_INSTALL_LIBS]
INSTALLS += target
@azbesthu
Copy link
Author

CORE project
gyp_generator
debug_and_release_target

WEBENGINE project
git_build need_fwd_pri qt_install_module qt_install_headers qmake_cache target_qt create_cmake skip_target_version_ext

skip_target_version_ext : this makes to not include version in the end of dll basename (Qt5WebEngineCore5.dll without 5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment