QT += widgets
!ios:QT += printsupport
macx:lessThan(QT_MAJOR_VERSION, 6) {
    QT += macextras
}

INCLUDEPATH += $$[QT_INSTALL_HEADERS]

LIBS += -L$$[QT_INSTALL_LIBS]

CONFIG(debug, debug|release) {
    mac: {
        LIBS += -lqscintilla2_qt$${QT_MAJOR_VERSION}_debug
    } else {
        win32: {
            LIBS += -lqscintilla2_qt$${QT_MAJOR_VERSION}d
        } else {
            LIBS += -lqscintilla2_qt$${QT_MAJOR_VERSION}
        }
    }
} else {
    LIBS += -lqscintilla2_qt$${QT_MAJOR_VERSION}
}
