summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/wasm/qt.prf
blob: 9b9b58d3dee649ae7966061cb52b4ec1c6a36a40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

qt_depends = $$resolve_depends(QT, "QT.")
equals(TEMPLATE, app):contains(qt_depends, gui(-private)?) {
    LIBS *= -L$$[QT_INSTALL_PLUGINS/get]/platforms

    lib_name = wasm
    lib_path_and_base = $$[QT_INSTALL_PLUGINS/get]/platforms/lib$${lib_name}$$qtPlatformTargetSuffix()
    LIBS += -l$${lib_name}$$qtPlatformTargetSuffix() $$fromfile($${lib_path_and_base}.prl, QMAKE_PRL_LIBS)
}

load(qt)