Results 1 to 2 of 2

Thread: 【solved】VS2008 + Qt call third-party library

  1. #1
    Join Date
    Oct 2012
    Posts
    35
    Thanks
    26
    Qt products
    Qt4
    Platforms
    Windows

    Default 【solved】VS2008 + Qt call third-party library

    VS2008 + Qt call third-party library
    software environment: VS2008 + qt-win-opensource-4.8.1-vs2008 + qt-vs-addin-1.1.11-opensource

    The following steps is correct ?:

    1. Add third-party header file into "Header Files";

    2.Add file path which third-party lib and header file into "Include directory" and "lib directory" which

    location of "Project " --> "property" --> "VC++directory ";

    3. Add lib filename into "linker" --> "Additional Dependencies" --> "input";

    4. Add related dll into "Debug" or "Release" directory;

    5.compiltion.

    There are err when I according to the above step to run.

    1> xx.h(6): error C2143: Syntax error: missing ";" ("__ stdcall" front)
    1>xx.h(6) : error C4430:Missing type specifier - assumed to be int. Note: C + + does not support default-int
    1>xx.h(6) : error C4430: Missing type specifier - assumed to be int. Note: C + + does not support default-int



    I'm a newer, Please help me to deal with this issue. TKS!
    Last edited by kenchan; 25th October 2012 at 18:16.

  2. #2
    Join Date
    Oct 2012
    Posts
    35
    Thanks
    26
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: VS2008 + Qt call third-party library

    The roblem has been solved

Similar Threads

  1. Replies: 3
    Last Post: 7th June 2012, 15:33
  2. My 3rd party library RPATH problem (Linux)
    By jezze_h in forum Installation and Deployment
    Replies: 3
    Last Post: 8th September 2011, 13:11
  3. Using third-party libraries in qt
    By apj in forum Newbie
    Replies: 1
    Last Post: 15th May 2009, 23:27
  4. using third party libs
    By jay in forum Qt Programming
    Replies: 13
    Last Post: 14th April 2009, 16:52
  5. Building a third party library
    By munna in forum General Programming
    Replies: 1
    Last Post: 6th October 2006, 21:43

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.