[Interest] Using private QtQuick APIs

Uwe Rathmann Uwe.Rathmann at tigertal.de
Wed Jan 17 09:32:37 CET 2018


On Wed, 17 Jan 2018 08:25:35 +0000, Mitch Curtis wrote:

This how I do it ( see https://github.com/uwerat/qskinny ):

QT += quick quick-private
CONFIG += no_private_qt_headers_warning

To get rid of warnings from Qt headers, when doing pedantic checks I also 
have the following lines:

linux {
    QMAKE_CXXFLAGS += \
        -isystem $$[QT_INSTALL_HEADERS] \
        -isystem $$[QT_INSTALL_HEADERS]/QtCore \
        -isystem $$[QT_INSTALL_HEADERS]/QtGui \
        -isystem $$[QT_INSTALL_HEADERS]/QtGui/$$[QT_VERSION]/QtGui \
        -isystem $$[QT_INSTALL_HEADERS]/QtQuick \
        -isystem $$[QT_INSTALL_HEADERS]/QtQuick/$$[QT_VERSION]/QtQuick \
        -isystem $$[QT_INSTALL_HEADERS]/QtQml \
        -isystem $$[QT_INSTALL_HEADERS]/QtQml/$$[QT_VERSION]/QtQml
}

HTH,
Uwe






More information about the Interest mailing list