stylewindow.pro Example File | Qt Widgets 5.12.6

Qt 5.12 | Qt Widgets | Style Plugin Example | stylewindow.pro Example File

Qt 5.12.6 Reference Documentation

# stylewindow.pro Example File

tools/styleplugin/stylewindow/stylewindow.pro

      QT += widgets

      HEADERS    = stylewindow.h
      SOURCES    = stylewindow.cpp \
                   main.cpp

      TARGET     = styleplugin
      win32 {
          debug:DESTDIR = ../debug/
          release:DESTDIR = ../release/
      } else {
          DESTDIR    = ../
      }

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/styleplugin
      INSTALLS += target

      CONFIG += install_ok  # Do not cargo-cult this!