Source

Target

Commits (2)
Showing with 27 additions and 9 deletions
TARGET = qdistancefieldgenerator
QT += gui widgets gui-private core-private quick-private QT += gui widgets gui-private core-private quick-private
SOURCES += \ SOURCES += \
...@@ -18,3 +20,7 @@ HEADERS += \ ...@@ -18,3 +20,7 @@ HEADERS += \
distancefieldmodelworker.h distancefieldmodelworker.h
QMAKE_DOCS = $$PWD/doc/qtdistancefieldgenerator.qdocconf QMAKE_DOCS = $$PWD/doc/qtdistancefieldgenerator.qdocconf
QMAKE_TARGET_DESCRIPTION = "Qt Distance Field Generator"
load(qt_app)
...@@ -3,7 +3,12 @@ SUBDIRS = \ ...@@ -3,7 +3,12 @@ SUBDIRS = \
lrelease \ lrelease \
lupdate \ lupdate \
lconvert lconvert
!no-png:qtHaveModule(widgets):qtConfig(process): SUBDIRS += linguist !no-png:qtHaveModule(widgets) {
QT_FOR_CONFIG += widgets
qtConfig(process):qtConfig(pushbutton):qtConfig(toolbutton) {
SUBDIRS += linguist
}
}
qtNomakeTools( \ qtNomakeTools( \
linguist \ linguist \
......
TEMPLATE = subdirs TEMPLATE = subdirs
QT_FOR_CONFIG += xml QT_FOR_CONFIG += xml
qtConfig(dom): SUBDIRS = qdbus qtConfig(dom): SUBDIRS = qdbus
qtHaveModule(widgets): SUBDIRS += qdbusviewer qtHaveModule(widgets) {
QT_FOR_CONFIG += widgets
qtConfig(dialogbuttonbox):qtConfig(inputdialog):qtConfig(messagebox):qtConfig(menu) {
SUBDIRS += qdbusviewer
}
}
...@@ -4,13 +4,15 @@ qtHaveModule(widgets) { ...@@ -4,13 +4,15 @@ qtHaveModule(widgets) {
no-png { no-png {
message("Some graphics-related tools are unavailable without PNG support") message("Some graphics-related tools are unavailable without PNG support")
} else { } else {
SUBDIRS = assistant \ QT_FOR_CONFIG += widgets
pixeltool \ qtConfig(pushbutton):qtConfig(toolbutton) {
designer SUBDIRS = assistant \
designer \
qtHaveModule(quick):qtConfig(thread): SUBDIRS += distancefieldgenerator pixeltool
linguist.depends = designer linguist.depends = designer
}
qtHaveModule(quick):qtConfig(thread):qtConfig(toolbutton): SUBDIRS += distancefieldgenerator
} }
} }
......