Results 1 to 11 of 11

Thread: linking qt3 to a library

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2006
    Posts
    14
    Thanks
    1

    Default Re: linking qt3 to a library

    I am trying to pass data in form of ( x, y, dy) to be fitted using the minuit library. The code works perfect when compiled using a command line. But it doesn't when adjusted to fit in a GUI. Is it linking problem or just problems with unknown classes? I will check that again. But do you think there is nothing wrong with code.pro? Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    28
    Thanked 976 Times in 912 Posts

    Default Re: linking qt3 to a library

    Quote Originally Posted by thebra View Post
    Is it linking problem or just problems with unknown classes?
    That error message comes from the compiler, not linker, so either you have some typo in your code or missing #include directive.

    Quote Originally Posted by thebra View Post
    But do you think there is nothing wrong with code.pro?
    Yes, it looks OK.

  3. The following user says thank you to jacek for this useful post:

    thebra (11th November 2006)

  4. #3
    Join Date
    Nov 2006
    Posts
    14
    Thanks
    1

    Default Re: linking qt3 to a library

    I figured it out and it had to do with how classes of the C++ code were defined. Thanks for your help.

Similar Threads

  1. Wrap a static QT library inside an XPCOM component ?
    By Paul_Xul in forum Qt Programming
    Replies: 2
    Last Post: 3rd August 2010, 08:16
  2. static linking options
    By jcr in forum Installation and Deployment
    Replies: 4
    Last Post: 7th October 2006, 17:12
  3. import library linking
    By bruce1007 in forum Qt Programming
    Replies: 6
    Last Post: 19th May 2006, 11:27
  4. linking libraries
    By JustaStudent in forum Newbie
    Replies: 29
    Last Post: 2nd May 2006, 09:30
  5. I got two problems when I used static compiled library of QT4
    By qintm in forum Installation and Deployment
    Replies: 8
    Last Post: 20th April 2006, 09: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
  •  
Qt is a trademark of The Qt Company.