Add test for qmake option
This commit is contained in:
@@ -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
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user