Results 1 to 2 of 2

Thread: Not able to include qextserialport in my application

  1. #1
    Join Date
    Mar 2011
    Posts
    15
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Not able to include qextserialport in my application

    Hi folks,


    To develop serial communication program I have downloaded QextSerialport classes from net. I have successfully compiled this project. and even I cud able to run "qspt" example present in the source downloaded.

    But while developing my application, when tried to include qextserialport.h, error is coming saying No such File.

    in .pro of application I added following line
    LIBS += -lqextserialport

    for more details:
    path of qextserialport in comp is:

    /QT/src/qextserialport/examples

    my application is at:
    /QT/src/qextserialport/examples/MyApp

    Please help, what am supposed to do make it work

  2. #2
    Join Date
    Jan 2009
    Location
    The Netherlands and Spain
    Posts
    150
    Thanks
    6
    Thanked 18 Times in 18 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Not able to include qextserialport in my application

    In your .pro-file, you will also need something like this:
    Qt Code:
    1. INCLUDEPATH += /location/of/your/headers
    2. LIBS += -L/location/of/your/lib -lyoursuperlib
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. Include Afx.h in Qt Application
    By Altertwin in forum Qt Programming
    Replies: 1
    Last Post: 14th March 2010, 00:25
  2. New Qextserialport
    By pherthyl in forum Qt Programming
    Replies: 0
    Last Post: 20th August 2009, 01:09
  3. QextSerialPort
    By Diph in forum Newbie
    Replies: 5
    Last Post: 13th September 2008, 19:18
  4. QExtSerialPort
    By baray98 in forum Qt Programming
    Replies: 1
    Last Post: 9th September 2008, 20:46
  5. Best way to "include" the images of an application
    By SkripT in forum Qt Programming
    Replies: 4
    Last Post: 18th April 2006, 18:32

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.