Results 1 to 2 of 2

Thread: ddinf libraries

  1. #1
    Join Date
    May 2008
    Posts
    276
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default ddinf libraries

    I would give another chance to QtCreator.
    I have some libraries to add to the project.
    I added into the source project .pro.
    I also added the variable name QWT by using the Project menu.
    But when I start the compilation, many errors appear: the compiler do not find the libraries and the include files of the library.
    What is that?
    (For instance, the library is QT).
    With mingw fram the shell, no problem

  2. #2
    Join Date
    Oct 2007
    Posts
    32
    Thanks
    3
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: ddinf libraries

    I use Qt Creator + Mingw + Qwt.

    Here are some lines which I put into my pro file which works fine for me.

    Qt Code:
    1. VER_MAJ = 5
    2. RELEASE_SUFFIX =
    3. DEBUG_SUFFIX = d
    4. CONFIG(debug, debug|release):SUFFIX_STR = $${DEBUG_SUFFIX}
    5. else:SUFFIX_STR = $${RELEASE_SUFFIX}
    6. QWTLIB = qwt$${SUFFIX_STR}$${VER_MAJ}
    7. win32-g++:LIBS += -L../../qwtlib -l$${QWTLIB}
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. Qt + Eclipse + MinGW + Windows: How to include libraries?
    By jambrek in forum General Programming
    Replies: 3
    Last Post: 19th December 2007, 13:57
  2. Replies: 2
    Last Post: 8th March 2007, 22:22
  3. Qt 3.3 libraries
    By ToddAtWSU in forum Qt Programming
    Replies: 1
    Last Post: 21st December 2006, 17:25
  4. Standardization on libraries
    By brcain in forum General Discussion
    Replies: 13
    Last Post: 16th August 2006, 22:56
  5. Replies: 4
    Last Post: 7th March 2006, 08:52

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.