summaryrefslogtreecommitdiffstats
path: root/tools/qtconfig/qtconfig.pro
blob: 3a24e854a708de601ac80c98162f235b352e2173 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
TEMPLATE = app
CONFIG        += qt warn_on x11
build_all:!build_pass {
    CONFIG -= build_all
    CONFIG += release
}
LANGUAGE = C++
QT += qt3support

contains(QT_CONFIG, gstreamer):LIBS += $$QT_LIBS_GSTREAMER -lgstinterfaces-0.10 -lgstvideo-0.10 -lgstbase-0.10
contains(QT_CONFIG, gstreamer):QMAKE_CXXFLAGS += $$QT_CFLAGS_GSTREAMER
contains(QT_CONFIG, phonon) {
    QT += phonon
    DEFINES += HAVE_PHONON
}
SOURCES        += colorbutton.cpp main.cpp previewframe.cpp previewwidget.cpp mainwindow.cpp paletteeditoradvanced.cpp \
    mainwindowbase.cpp paletteeditoradvancedbase.cpp previewwidgetbase.cpp
HEADERS        += colorbutton.h previewframe.h previewwidget.h mainwindow.h paletteeditoradvanced.h \
    mainwindowbase.h paletteeditoradvancedbase.h previewwidgetbase.h

FORMS        = mainwindowbase.ui paletteeditoradvancedbase.ui previewwidgetbase.ui
RESOURCES    = qtconfig.qrc

PROJECTNAME        = Qt Configuration
TARGET                = qtconfig
DESTDIR                = ../../bin

target.path=$$[QT_INSTALL_BINS]
INSTALLS        += target
INCLUDEPATH        += .
DBFILE                 = qtconfig.db

TR_DIR = $$PWD/../../translations
TRANSLATIONS = \
    $$TR_DIR/qtconfig_hu.ts \
    $$TR_DIR/qtconfig_pl.ts \
    $$TR_DIR/qtconfig_ru.ts \
    $$TR_DIR/qtconfig_zh_CN.ts \
    $$TR_DIR/qtconfig_zh_TW.ts