Qt 5.6 | Qt SQL | SQL Browser | sqlbrowser.pro Example File

Qt 5.6.2 Reference Documentation

# sqlbrowser.pro Example File

sqlbrowser/sqlbrowser.pro

      TEMPLATE        = app
      TARGET          = sqlbrowser

      QT              += sql widgets

      HEADERS         = browser.h connectionwidget.h qsqlconnectiondialog.h
      SOURCES         = main.cpp browser.cpp connectionwidget.cpp qsqlconnectiondialog.cpp

      FORMS           = browserwidget.ui qsqlconnectiondialog.ui
      build_all:!build_pass {
          CONFIG -= build_all
          CONFIG += release
      }

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/sql/sqlbrowser
      INSTALLS += target

      wince {
          DEPLOYMENT_PLUGIN += qsqlite
      }