Results 1 to 4 of 4

Thread: Qt 4.7.0 source compilation errors (MSVC 2010, Windows 7 Ultimate 64-bit)

  1. #1
    Join Date
    Sep 2010
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Unhappy Qt 4.7.0 source compilation errors (MSVC 2010, Windows 7 Ultimate 64-bit)

    Hi,

    I tried building Qt 4.7.0 source files (qt-everywhere-opensource-src-4.7.0.zip) statically several times and had no success at all, I'm getting just the same results as here http://www.qtcentre.org/archive/index.php/t-22631.html. The difference is that in my case absolutely nothing is resolved

    I've tried the following instructions:
    http://www.formortals.com/how-to-statically-link-qt-4/
    http://www.formortals.com/build-qt-s...-gcc-compiler/
    http://sync-swc.weebly.com/6/post/20...n-windows.html
    and many other...

    I also have "Cannot determine the location of the VS Common Tools folder" just after Visual Studio command prompt start, but fixed it somehow with http://social.msdn.microsoft.com/For...b-33aefa6fb37a.

    I would appreciate any help because I'm exhausted and installing-uninstalling consumes so much time.


    MS Windows 7 Ultimate 64-bit
    MS Visual Studio 2010 32-bit

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Qt 4.7.0 source compilation errors (MSVC 2010, Windows 7 Ultimate 64-bit)

    Not a solution for your problem (sorry about that), but a question:
    Why do you need to build Qt statically?

  3. #3
    Join Date
    Sep 2010
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default Re: Qt 4.7.0 source compilation errors (MSVC 2010, Windows 7 Ultimate 64-bit)

    Quote Originally Posted by tbscope View Post
    Not a solution for your problem (sorry about that), but a question:
    Why do you need to build Qt statically?
    To have a deployable .exe from the very project beginning. Is there any other way to build my application statically?

  4. #4
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Qt 4.7.0 source compilation errors (MSVC 2010, Windows 7 Ultimate 64-bit)

    You do know that the license is very different when you statically link Qt into your program?

    Why don't you distribute the Qt dll's with your project? It's not that difficult.

Similar Threads

  1. Plan for Visual Studio 2010 (MSVC 2010)?
    By Vinzz in forum Qt Programming
    Replies: 1
    Last Post: 18th April 2010, 17:42
  2. Problem with compiling Qt 4.6 via MSVC 2010 Beta2 (win32-msvc specs)
    By Erik-Moscow in forum Installation and Deployment
    Replies: 2
    Last Post: 17th December 2009, 18:44
  3. Possible to compile Qt 4.5 source with msvc 2010 beta?
    By JimDaniel in forum Installation and Deployment
    Replies: 2
    Last Post: 22nd July 2009, 14:19
  4. Compilation error with MSVC: Wrong MOC version
    By vuakko in forum Qt Programming
    Replies: 3
    Last Post: 26th June 2009, 09:59
  5. Open source dev on windows: MinGW vs MSVC
    By magland in forum Installation and Deployment
    Replies: 4
    Last Post: 29th December 2007, 08: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.