terminal.pro Example File | Qt Serial Port 5.4

- Qt 5.4
- Qt Serial Port
- Terminal Example
- terminal.pro Example File
- Qt 5.4.2 Reference Documentation

# terminal.pro Example File

terminal/terminal.pro

    greaterThan(QT_MAJOR_VERSION, 4) {
        QT       += widgets serialport
    } else {
        include($$QTSERIALPORT_PROJECT_ROOT/src/serialport/qt4support/serialport.prf)
    }

    TARGET = terminal
    TEMPLATE = app

    SOURCES += \
        main.cpp \
        mainwindow.cpp \
        settingsdialog.cpp \
        console.cpp

    HEADERS += \
        mainwindow.h \
        settingsdialog.h \
        console.h

    FORMS += \
        mainwindow.ui \
        settingsdialog.ui

    RESOURCES += \
        terminal.qrc