Results 1 to 2 of 2

Thread: getting compilation error while adding external header file(plx.h)

  1. #1
    Join Date
    Apr 2018
    Posts
    2
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    Unix/X11 Windows

    Default getting compilation error while adding external header file(plx.h)

    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

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: getting compilation error while adding external header file(plx.h)

    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.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. compilation error for CLFS file in qt
    By anh5kor in forum Newbie
    Replies: 3
    Last Post: 11th August 2017, 11:55
  2. Replies: 0
    Last Post: 17th September 2015, 22:03
  3. Replies: 4
    Last Post: 29th May 2015, 18:27
  4. Replies: 1
    Last Post: 7th February 2013, 09:51
  5. Replies: 8
    Last Post: 29th July 2012, 02:28

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.