Add test for qmake option

This commit is contained in:
Martin Höher
2017-08-11 22:37:47 +02:00
parent 2cafb878a6
commit 8c13c97c77
2 changed files with 24 additions and 6 deletions
+18
View File
@@ -79,6 +79,24 @@ killall QtWidgetsApplication && echo "SUCCESS"
cd ../../../ cd ../../../
###############################################################################
# Test bundling the sample Qt Widgets Application passing in the qmake exe
###############################################################################
cd tests/QtWidgetsApplication/build/
mkdir -p explicitqmake
cp QtWidgetsApplication explicitqmake/
../../../linuxdeployqt-*-x86_64.AppImage explicitqmake/QtWidgetsApplication \
-qmake=$(which qmake)
ldd explicitqmake/QtWidgetsApplication
find explicitqmake/
LD_DEBUG=libs explicitqmake/QtWidgetsApplication &
sleep 5
killall QtWidgetsApplication && echo "SUCCESS"
cd ../../../
############################################################################### ###############################################################################
# Test bundling the sample Qt Quick Controls 2 Application that comes with Qt Creator # Test bundling the sample Qt Quick Controls 2 Application that comes with Qt Creator
############################################################################### ###############################################################################
+6 -6
View File
@@ -50,13 +50,13 @@ bool runStripEnabled = true;
bool bundleAllButCoreLibs = false; bool bundleAllButCoreLibs = false;
bool fhsLikeMode = false; bool fhsLikeMode = false;
QString fhsPrefix; QString fhsPrefix;
static bool alwaysOwerwriteEnabled = false; bool alwaysOwerwriteEnabled = false;
static QStringList librarySearchPath; QStringList librarySearchPath;
static bool appstoreCompliant = false; bool appstoreCompliant = false;
int logLevel = 1; int logLevel = 1;
static int qtDetected = 0; int qtDetected = 0;
static bool qtDetectionComplete = 0; // As long as Qt is not detected yet, ldd may encounter "not found" messages, continue anyway bool qtDetectionComplete = 0; // As long as Qt is not detected yet, ldd may encounter "not found" messages, continue anyway
static bool deployLibrary = false; bool deployLibrary = false;
using std::cout; using std::cout;
using std::endl; using std::endl;