summaryrefslogtreecommitdiffstats
path: root/src/plugins/imageformats/mng/mng.pro
blob: 435df20bce55f5490b34e35ab4dd060e272d2095 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
TARGET  = qmng
load(qt_plugin)

HEADERS += qmnghandler_p.h
SOURCES += qmnghandler.cpp
OTHER_FILES += mng.json
contains(QT_CONFIG, system-mng) {
        if(unix|win32-g++*):LIBS += -lmng
        else:win32:         LIBS += libmng.lib
} else {
    include($$PWD/../../../3rdparty/libmng.pri)
    *-g++*: QMAKE_CFLAGS_WARN_ON += -Wno-unused-parameter
}

SOURCES += main.cpp

DESTDIR = $$QT.gui.plugins/imageformats
target.path += $$[QT_INSTALL_PLUGINS]/imageformats
INSTALLS += target