Results 1 to 6 of 6

Thread: Qt 4.5.0 vs MSVS 2008 Express Edition

  1. #1
    Join Date
    Mar 2009
    Location
    Russia
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Qt 4.5.0 vs MSVS 2008 Express Edition

    I configured Qt with:
    configure -debug-and-release -no-qt3support -platform win32-msvc2008

    then I run:
    nmake

    moc build fails with:
    LINK : fatal error LNK1104: cannot open file ''d:\Developing\qt-win-opensource-src-4.5.0\lib\QtGuid4.lib''

    ofcourse there is no QtGuid4.lib, it hasn`t been built yet. How can I solve it?

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

    Default Re: Qt 4.5.0 vs MSVS 2008 Express Edition

    When does it fail? What are the exact steps you have taken since downloading the archive?
    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
    Mar 2009
    Location
    Russia
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.5.0 vs MSVS 2008 Express Edition

    Quote Originally Posted by wysota View Post
    When does it fail? What are the exact steps you have taken since downloading the archive?
    1. extracted archive to D:\Developing\qt-win-opensource-src-4.5.0
    2. launched VS command prompt from Visual Studio to be sure that environment variables are correctly set.
    3. changed directory to D:\Developing\qt-win-opensource-src-4.5.0
    4. ran "configure -debug-and-release -no-qt3support -platform win32-msvc2008"
    5. ran "nmake"

    Configuring passes successfully, but after 5th step, when it starts to link moc.exe (since 10-20 seconds from typing "nmake") it fails with "LINK : fatal error LNK1104: cannot open file ''d:\Developing\qt-win-opensource-src-4.5.0\lib\QtGuid4.lib''".
    IMHO configure generates wrong makefiles, moc cant depend on QtGui library, but moc makefile contains it.

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

    Default Re: Qt 4.5.0 vs MSVS 2008 Express Edition

    moc doesn't depend on any Qt library. Do you have an earlier installation of Qt? Did you modify any of its files (especially in the mkspecs directory) or paths?
    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.


  5. #5
    Join Date
    Mar 2009
    Location
    Russia
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.5.0 vs MSVS 2008 Express Edition

    Quote Originally Posted by wysota View Post
    moc doesn't depend on any Qt library. Do you have an earlier installation of Qt? Did you modify any of its files (especially in the mkspecs directory) or paths?
    No, I didn't.

    I tried "qt-win-opensource-src-4.5.0-mingw.exe" and compiled it under msvc-2008 without any problem with steps described above.
    "qt-win-opensource-src-4.5.0.zip" just doesn't work, it generates incorrect makefiles while configuring.

    Anyway thanks for answers =)

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

    Default Re: Qt 4.5.0 vs MSVS 2008 Express Edition

    I believe it should work fine. Otherwise we'd have an update released by now.
    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.


Similar Threads

  1. QT 4.4 setup help with VC++ 2008 Express
    By Chronos in forum Installation and Deployment
    Replies: 5
    Last Post: 21st July 2009, 19:40
  2. Replies: 1
    Last Post: 8th February 2009, 15:08
  3. msvc++ 2008 express and msvc++ 2005 express
    By vonCZ in forum Installation and Deployment
    Replies: 4
    Last Post: 9th December 2008, 12:15
  4. application deployment with MSVC++ 2008 Express???
    By vonCZ in forum Installation and Deployment
    Replies: 9
    Last Post: 21st November 2008, 10:24
  5. deployment problem: msvc++ 2008 Express, Qt 4.4.3
    By vonCZ in forum Qt Programming
    Replies: 7
    Last Post: 10th November 2008, 14:38

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.