Qt 5.7 | Qt Linguist Manual | Troll Print Example | trollprint.pro Example File

Qt 5.7.1 Reference Documentation

# trollprint.pro Example File

trollprint/trollprint.pro

      HEADERS       = mainwindow.h \
                      printpanel.h
      SOURCES       = main.cpp \
                      mainwindow.cpp \
                      printpanel.cpp
      TRANSLATIONS  = trollprint_pt.ts

      target.path = $$[QT_INSTALL_EXAMPLES]/linguist/trollprint
      INSTALLS += target

      QT += widgets

      simulator: warning(This example might not fully work on Simulator platform)