Browse Source
Refactor the project structure to make it build as a "Qt module". It's a first step to get this tool closer to Qt. The main advantage here is: Simply running: ``` qmake make make install ``` will compile and install the tool into your Qt installation, and make it a part of your Qt just like any other tool (qmake, etc.)master
Felix Barz
8 years ago
committed by
probonopd
13 changed files with 56 additions and 10 deletions
@ -0,0 +1,5 @@ |
|||
load(qt_build_config) |
|||
|
|||
CONFIG += warning_clean exceptions |
|||
|
|||
MODULE_VERSION = 0.5.0 |
@ -1,2 +1 @@ |
|||
TEMPLATE = subdirs |
|||
SUBDIRS = linuxdeployqt |
|||
load(qt_parts) |
|||
|
@ -1,2 +0,0 @@ |
|||
QT = core |
|||
SOURCES += main.cpp ../shared/shared.cpp |
@ -0,0 +1 @@ |
|||
TEMPLATE = aux |
@ -0,0 +1,5 @@ |
|||
%modules = ( |
|||
); |
|||
|
|||
%moduleheaders = ( |
|||
); |
@ -0,0 +1,11 @@ |
|||
TEMPLATE = subdirs |
|||
|
|||
SUBDIRS += \ |
|||
QtQuickControls2Application \ |
|||
QtWebEngineApplication \ |
|||
QtWidgetsApplication |
|||
|
|||
DISTFILES += \ |
|||
tests-ci.sh \ |
|||
tests-environment.sh \ |
|||
tests.sh |
@ -0,0 +1,17 @@ |
|||
option(host_build) |
|||
|
|||
QT = core |
|||
CONFIG += console |
|||
|
|||
TARGET = linuxdeployqt |
|||
VERSION = $$MODULE_VERSION |
|||
|
|||
DEFINES += BUILD_LINUXDEPLOYQT |
|||
|
|||
load(qt_tool) |
|||
|
|||
HEADERS += shared.h |
|||
SOURCES += main.cpp \ |
|||
shared.cpp |
|||
|
|||
DEFINES -= QT_USE_QSTRINGBUILDER #leads to compile errors if not disabled |
@ -0,0 +1,4 @@ |
|||
TEMPLATE = subdirs |
|||
CONFIG += ordered |
|||
|
|||
SUBDIRS += linuxdeployqt |
Loading…
Reference in new issue