Results 1 to 1 of 1

Thread: MSVC2008 : win 32 and win64 installation

  1. #1
    Join Date
    Feb 2011
    Posts
    31
    Thanks
    23
    Qt products
    Qt4
    Platforms
    Windows

    Default MSVC2008 : win 32 and win64 installation

    hello
    i am running qt 4.8.1 and MSVC++ 2008 on a 64 bit win7 computer. Since my application relies on some libs and dlls compiled for a 32 bit machine and I want to get the qt libraries for 32 its i am running from MSVC command prompt the following

    nmake clean
    configure -debug-and-release -opensource -shared -no-qt3support -qt-sql-sqlite -no-webkit -no-script -platform win32-msvc2008
    nmake

    all of this ran smoothly.

    If I look at the MSVC project files I see the linker relies on the $(QTDIR)/lib and I see QTDIR is currently set at c:\qt\4.8.1 and lib files qtcore.dll, lib etc. are correcly there

    I then open my MSVC solution with win32 configuration and I got the error 'There is no Qt version assigned to this project for platform Win32' ...
    If I create a new x64 configuration I can compile the program but of course I cannot link my thrid-party lib files

    please help: I probably miss some obvious steps or I do not fully understand the 32-64 bit dilemma

    one more question: what hould I do to maintan *both* 32 bit and 64 bit Qt? It looks like they are compiled in the same $(QTDIR)/lib directry. should I manually rename the directories and redefine the QTDIR env variable? I was figuring out this is handled smoothly by the installation process

    thanks much to who'll help me on this
    Last edited by marco.stanzani; 4th December 2012 at 13:20.

Similar Threads

  1. QMYSQL plugin win64 7 tutorial
    By zim in forum Newbie
    Replies: 3
    Last Post: 7th December 2010, 23:27
  2. qwt 5.2.0 msvc2008 build Qt 4.6.0
    By hml in forum Qwt
    Replies: 3
    Last Post: 18th December 2009, 12:58
  3. win32-msvc2008 express installation
    By frog in forum Newbie
    Replies: 2
    Last Post: 11th August 2009, 09:57
  4. OpenGL problem on msvc2008 in release
    By redoctober0 in forum Qt Programming
    Replies: 3
    Last Post: 6th February 2009, 17:59
  5. Qt4.4 QSsl Won't Compile with MSVC2008
    By Surye in forum Installation and Deployment
    Replies: 2
    Last Post: 9th May 2008, 17:52

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.