Created
February 15, 2012 15:22
-
-
Save lauromoura/1836652 to your computer and use it in GitHub Desktop.
Patch qt-components to check $INSTALL_ROOT when bumping the qml files.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 28d31cf7a98462553e599acd0a9121bd13667eef | |
Author: Lauro Neto <lauro.neto@openbossa.org> | |
Date: Wed Feb 15 16:15:51 2012 +0100 | |
Use INSTALL_ROOT to bump the QML files version. | |
When installing with INSTALL_ROOT, Makefile searched the | |
original path for the files to change, making the command useless. | |
diff --git a/qml.pri b/qml.pri | |
index 3ef110b..25feb90 100644 | |
--- a/qml.pri | |
+++ b/qml.pri | |
@@ -144,7 +144,7 @@ equals(QT_MAJOR_VERSION, 5):if(!debug_and_release|CONFIG(release, debug|release) | |
isEmpty($${install}.files): next() | |
bump_qml_version_installed.depends += install_$${install} | |
- bump_qml_version_installed.commands += && $$bumpQmlVersion($$eval($${install}.path), 2.0) | |
+ bump_qml_version_installed.commands += && $$bumpQmlVersion(\$\(INSTALL_ROOT\)$$eval($${install}.path), 2.0) | |
} | |
INSTALLS += bump_qml_version_installed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment