PDA

View Full Version : getting compilation error while adding external header file(plx.h)



Ramdhyani
17th April 2018, 10:26
i new to qt creator,i am trying to r/w a plx board.while adding the the header file i am getting compilation errors.plz help

d_stranz
18th April 2018, 17:18
You need to edit your Qt Creator .pro file to add the path to your header files by modifying the INCLUDEPATH variable. You will probably also have to modify the LIBS variable to add the path and names of the external libraries. After you edit the .pro file, you will have to run qmake or do a clean rebuild in Qt Creator.

See the qmake documentation here (https://doc.qt.io/qt-5/qmake-variable-reference.html).