Results 1 to 3 of 3

Thread: Unable to run a C++ LIbrary, getting a lot of errors

  1. #1
    Join Date
    Dec 2011
    Posts
    13
    Thanks
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Unable to run a C++ LIbrary, getting a lot of errors

    I have a C++ Library that gets compiled with a Borland C++ Compiler. I am required to use this library in the program that I am building using QTCreator and C++. However, when i include the header file of the library in my program and compile, I get a lot of errors.
    What kind of changes are required to be made in a BC++ code for use with QT.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Unable to run a C++ LIbrary, getting a lot of errors

    First you should tell us, what errors do you get. How should we know...

    I guess you are using gcc thus you also have to build the library with gcc.

  3. #3
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Unable to run a C++ LIbrary, getting a lot of errors

    borland? I wonder how many tens of years old that is. Get a compiler that is actually compliant to recent standards.
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

Similar Threads

  1. Errors Occured While compiling.Unable to solve it.
    By karthikkm1987 in forum Qt Programming
    Replies: 2
    Last Post: 5th December 2011, 10:45
  2. Replies: 10
    Last Post: 14th September 2011, 10:55
  3. Replies: 2
    Last Post: 19th February 2011, 11:26
  4. Unable to detect the library on QT compilation
    By rhonaldmoses in forum Newbie
    Replies: 1
    Last Post: 16th August 2008, 21:01

Tags for this Thread

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.