Results 1 to 2 of 2

Thread: Building 64bit Shared Qt Dlls on 64bit Win7 for Visual Studio

  1. #1
    Join Date
    Nov 2011
    Posts
    6
    Qt products
    Qt4
    Platforms
    Windows

    Question Building 64bit Shared Qt Dlls on 64bit Win7 for Visual Studio

    Hi.
    I try to build 64bit Qt DLLs on a Win7 64bit machine for Visual Studio. Qt Version is 4.7.4. I found an article "Qt4 with Visual Studio" that is helpful but did not let me succeed. I am not able to find the correct parameters for -platform or -platformx for 64bit MSVC2011 builds. Has anybody build a 64bit Qt enviroment for Visual Studio 2010 (2008) on 64bit Win7.
    Thanx Harald.

  2. #2
    Join Date
    Oct 2010
    Posts
    58
    Thanks
    26
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Building 64bit Shared Qt Dlls on 64bit Win7 for Visual Studio

    I was able to do that with a static lib but should work for DLLs. I didn't set the platform command and it worked for me. From the MSVC 64bit command line (start->programs->microsoft visual studio -> visual studio tools-> visual studio 2008 x64 win64 command prompt) just run configure with your options. This was my command (ovbiously remove '-static' if you don't need that)
    Qt Code:
    1. configure -static -nomake examples -nomake demos -no-qt3support -no-scripttools -no-openssl -no-opengl -no-webkit -no-phonon -no-style-motif -no-style-cde -no-style-cleanlooks -no-style-plastique -no-sql-sqlite
    To copy to clipboard, switch view to plain text mode 
    then nmake

Similar Threads

  1. Replies: 0
    Last Post: 3rd October 2011, 13:36
  2. Building 64 bit visual studio projects .sln
    By drescherjm in forum Qt Tools
    Replies: 1
    Last Post: 18th April 2011, 23:13
  3. VirtualBox Win7 QT Setup with Visual Studio 2008 Pro 32/64 bits
    By SteZZz in forum Installation and Deployment
    Replies: 2
    Last Post: 10th March 2011, 16:17
  4. Problem building Qt on MS windows server 64bit system
    By _patrice_ in forum Installation and Deployment
    Replies: 0
    Last Post: 9th July 2010, 21:32
  5. Win7 64bit remote debugging
    By mekl in forum Qt Programming
    Replies: 0
    Last Post: 20th June 2010, 20:20

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.