Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Building terminal demo

$
0
0
http://qt-project.org/doc/qt-5/qtserialport-terminal-example.html [qt-project.org] Ends up with : In file included from main.cpp:45:0: mainwindow.h:50:36: fatal error: QtSerialPort/QSerialPort: No such file or directory  #include <QtSerialPort/QSerialPort>                                     ^ compilation terminated. tom@oberon:~/qt/qt-qtserialport> more qtserialport.pro lessThan(QT_MAJOR_VERSION, 5) {     TEMPLATE = subdirs     SUBDIRS = src examples tests     CONFIG += ordered       !infile($$OUT_PWD/.qmake.cache, QTSERIALPORT_PROJECT_ROOT) {         system("echo QTSERIALPORT_PROJECT_ROOT = $$PWD >> $$OUT_PWD/.qmake.cache")         system("echo QTSERIALPORT_BUILD_ROOT = $$OUT_PWD >> $$OUT_PWD/.qmake.cache")     } } else {     load(qt_parts) } How to set the include header path to qmake ? Using qt 5.3 @ OpenSuse 12.3

Viewing all articles
Browse latest Browse all 2113

Trending Articles