Results 1 to 3 of 3

Thread: Is VS usable with opensource Qt?

  1. #1
    Join Date
    Oct 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Is VS usable with opensource Qt?

    Hi,
    I've downloaded the lgpl windows version of qt and the VS plugin, but I can't compile under VS because it misses qtmain.lib (linker error).

    BTW is it possible to compile qt code from VS (2005 or 2008)? Where are the import lib files? Or is it only possible with the commercial licence?

    Thanks for any pointers

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Is VS usable with opensource Qt?

    You need to rebuild Qt against Visual C++ compiler. Run configure -help and follow the text there. If it's still unclear, consult our wiki.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Is VS usable with opensource Qt?

    By default, Qt only ships with dynamic GCC compiled dynamic DLLs for Windows. If you want anything else you have to compile Qt yourself. No major problem. I got a compile error whilst doing so, but It had compiled all the libraries by then and was working on the tools, so I really didn't care (I just took the pre-compiled tools). The VS addin will take any '.pro' file and convert it to a proper VStudio project, and then the usual F5 runs MOC and UIC for you which is just magic. You really don't have to setup anything else.

Similar Threads

  1. Opensource Calendar Widget
    By donmorr in forum Qt Tools
    Replies: 5
    Last Post: 15th February 2012, 18:54
  2. Qt Opensource 4.5.2 wont compile
    By MarkoSan in forum Installation and Deployment
    Replies: 8
    Last Post: 26th November 2009, 06:56
  3. Qt opensource sdk asking for license key
    By tgreaves in forum Installation and Deployment
    Replies: 1
    Last Post: 19th March 2009, 18:17
  4. Fonts opensource for chinese and arabic
    By recalcati in forum Qt Programming
    Replies: 0
    Last Post: 30th April 2008, 10:06
  5. Does OpenGL be supported in opensource of Qt-4.1.2?
    By showhand in forum Qt Programming
    Replies: 1
    Last Post: 15th May 2006, 10:46

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.