Results 1 to 10 of 10

Thread: Trying to Install Qt 4.5 on Vista32 with MSVC++ 2008 Express: and Failing

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    Hawaii
    Posts
    6
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Trying to Install Qt 4.5 on Vista32 with MSVC++ 2008 Express: and Failing

    Aloha and thanks Boron.

    Took forever to compile the environment - but it's working.

    At least I have the helloWorld example to work.
    Now I can seriously start to learn how to use Qt.

    Next step for me is to learn how to incorporate QtDesigner UI files with MSVC++
    That and really start looking at the docs.

    I sincerely appreciate your help in getting me started.

    Aloha

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,540
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Trying to Install Qt 4.5 on Vista32 with MSVC++ 2008 Express: and Failing

    You must create rule for uic.exe tool :
    - in Solution Explorer push RMB on root
    - from menu select Custom Build Rules
    - create rule and attach them to UI files

  3. #3
    Join Date
    Jul 2009
    Posts
    9
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Trying to Install Qt 4.5 on Vista32 with MSVC++ 2008 Express: and Failing

    hi,
    "configure -debug-and-release -no-qt3support -no-webkit" helped me pass the configuration and nmake steps without fatal errors, but now i get the same error (u1077) when i try to build a project, even though its preview seems fine. what should i do now?

    thanks

    mehmet

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Trying to Install Qt 4.5 on Vista32 with MSVC++ 2008 Express: and Failing

    What is the FIRST error? Can you paste the exact compiler command and the resulting error, please?
    J-P Nurmi

  5. #5
    Join Date
    Jul 2009
    Posts
    9
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Trying to Install Qt 4.5 on Vista32 with MSVC++ 2008 Express: and Failing

    i was having the fatal error u1077 message during the configuration, but i overcame it with your configuration command. now when i try to build a project i get the message that i posted below, but before reading that, you should know that i can build projects from visual studio's comman line using "qmake -o Makefile hello.pro" then i type "nmake". so it's ok if you dont post a solution. here is the error message:

    Running build steps for project calculatorbuilder...

    Configuration unchanged, skipping QMake step.

    Starting: C:/Program Files/Microsoft Visual Studio 8/VC/BIN/nmake.exe

    "C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" -f Makefile.Debug all

    Microsoft (R) Program Maintenance Utility Version 8.00.50727.762

    Copyright (C) Microsoft Corporation. All rights reserved.

    Microsoft (R) Program Maintenance Utility Version 8.00.50727.762

    Copyright (C) Microsoft Corporation. All rights reserved.

    C:\Qt\2009.03\qt\bin\moc.exe -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\include\QtUiTools" -I"..\..\..\include\QtCore" -I"..\..\..\include\QtGui" -I"..\..\..\include\QtXml" -I"..\..\..\include" -I"..\..\..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"..\..\..\mkspecs\win32-msvc2008" -D_MSC_VER=1500 -DWIN32 calculatorform.h -o tmp\moc\debug_shared\moc_calculatorform.cpp

    c:\Qt\2009.03\qt\bin\rcc.exe -name calculatorbuilder calculatorbuilder.qrc -o tmp\rcc\debug_shared\qrc_calculatorbuilder.cpp

    cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\include\QtUiTools" -I"..\..\..\include\QtCore" -I"..\..\..\include\QtGui" -I"..\..\..\include\QtXml" -I"..\..\..\include" -I"..\..\..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"..\..\..\mkspecs\win32-msvc2008" -Fotmp\obj\debug_shared\ @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nmD6.tmp

    calculatorform.cpp

    main.cpp

    Generating Code...

    cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\include\QtUiTools" -I"..\..\..\include\QtCore" -I"..\..\..\include\QtGui" -I"..\..\..\include\QtXml" -I"..\..\..\include" -I"..\..\..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"..\..\..\mkspecs\win32-msvc2008" -Fotmp\obj\debug_shared\ @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nmD7.tmp

    moc_calculatorform.cpp

    cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\include\QtUiTools" -I"..\..\..\include\QtCore" -I"..\..\..\include\QtGui" -I"..\..\..\include\QtXml" -I"..\..\..\include" -I"..\..\..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"..\..\..\mkspecs\win32-msvc2008" -Fotmp\obj\debug_shared\ @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nmD8.tmp

    qrc_calculatorbuilder.cpp

    link /LIBPATH:"c:\Qt\2009.03\qt\lib" /LIBPATH:"c:\Qt\2009.03\qt\lib" /NOLOGO /DEBUG /MANIFEST /MANIFESTFILE:"tmp\obj\debug_shared\calculatorbuild er.intermediate.manifest" /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /OUT:debug\calculatorbuilder.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nmD9.tmp

    qtmaind.lib(qtmain_win.obj) : fatal error LNK1103: debugging information corrupt; recompile module

    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\link.EXE"' : return code '0x44f'

    Stop.

    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe"' : return code '0x2'

    Stop.

    Exited with code 2.

    Error while building project calculatorbuilder

    When executing build step 'Make'

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.