Source

Target

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