• Simon Hausmann's avatar
    Centralize OpenGL initialization · 3d6d6594
    Simon Hausmann authored
    
    We now require the user to use QWebEngine::initialize() in main (preferably) and
    print out an error message if this wasn't set up accordingly. This limits the use
    of private scene graph API to inside QWebEngine and offers public API for users
    of the API.
    
    Change-Id: I787c176a85ab7784dbc8787d9876960b4872959e
    Reviewed-by: default avatarJocelyn Turcotte <jocelyn.turcotte@digia.com>
    3d6d6594
quicknanobrowser.pro 419 bytes
TEMPLATE = app
TARGET = quicknanobrowser
HEADERS = quickwindow.h \
          util.h
SOURCES = quickwindow.cpp \
          main.cpp
OTHER_FILES += quickwindow.qml
RESOURCES += resources.qrc
QT += qml quick webengine
qtHaveModule(widgets) {
    QT += widgets # QApplication is required to get native styling with QtQuickControls
target.path = $$[QT_INSTALL_EXAMPLES]/webengine/quicknanobrowser
INSTALLS += target