embeddedqwindow.pro Example File | Qt Mac Extras 5.9

Qt 5.9 | Qt Mac Extras | macOS: Embedded QWindow | embeddedqwindow.pro Example File

Qt 5.9.9 Reference Documentation

# embeddedqwindow.pro Example File

embeddedqwindow/embeddedqwindow.pro

      TEMPLATE = app

      OBJECTIVE_SOURCES += main.mm
      HEADERS += window.h
      SOURCES += window.cpp
      LIBS += -framework Cocoa

      QT += gui widgets macextras
      QT += widgets-private gui-private core-private

      target.path = $$[QT_INSTALL_EXAMPLES]/macextras/embeddedqwindow
      INSTALLS += target