Results 1 to 1 of 1

Thread: building in QTCreator with msvc2008 fails

  1. #1

    Default Re: building in QTCreator with msvc2008 fails

    Hi

    I downloaded the latest Qt today for my windows environment. I have visual studio 2008 installed. i created a 'gui application' in qt creator, but when i try to build i get the errors below. i know visual studio is set up correctly because i can build and run a program in the visual studio ide fine:

    13:02:01: Running build steps for project testy...
    13:02:01: Starting: "c:\qtsdk\desktop\qt\4.8.0\msvc2008\bin\qmake. exe" C:\Users\stummer\testy\testy.pro -r -spec win32-msvc2008 "CONFIG+=declarative_debug"
    13:02:02: The process "c:\qtsdk\desktop\qt\4.8.0\msvc2008\bin\qmake. exe" exited normally.
    13:02:02: Starting: "C:\QtSDK\QtCreator\bin\jom.exe"
    C:\QtSDK\QtCreator\bin\jom.exe -nologo -j 2 -f Makefile.Debug
    cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\..\QtSDK\Desktop\Qt\4.8.0\msvc2008\include \QtCore" -I"..\..\..\QtSDK\Desktop\Qt\4.8.0\msvc2008\include \QtGui" -I"..\..\..\QtSDK\Desktop\Qt\4.8.0\msvc2008\include " -I"..\..\..\QtSDK\Desktop\Qt\4.8.0\msvc2008\include \ActiveQt" -I"debug" -I"." -I"..\..\..\QtSDK\Desktop\Qt\4.8.0\msvc2008\mkspecs \win32-msvc2008" -Fodebug\ @C:\Users\stummer\AppData\Local\Temp\main.obj.3092 .0.jom
    main.cpp
    Command line error D2027 : cannot execute 'c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\c1xx.dll'
    C:\QtSDK\Desktop\Qt\4.8.0\msvc2008\bin\moc.exe -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\..\QtSDK\Desktop\Qt\4.8.0\msvc2008\include \QtCore" -I"..\..\..\QtSDK\Desktop\Qt\4.8.0\msvc2008\include \QtGui" -I"..\..\..\QtSDK\Desktop\Qt\4.8.0\msvc2008\include " -I"..\..\..\QtSDK\Desktop\Qt\4.8.0\msvc2008\include \ActiveQt" -I"debug" -I"." -I"..\..\..\QtSDK\Desktop\Qt\4.8.0\msvc2008\mkspecs \win32-msvc2008" -D_MSC_VER=1500 -DWIN32 mainwindow.h -o debug\moc_mainwindow.cpp

    jom 1.0.6 - empower your cores

    Command line warning D4002 : ignoring unknown option '-Zc'
    Command line warning D4002 : ignoring unknown option '-Z:'
    Command line warning D4002 : ignoring unknown option '-Zw'
    Command line warning D4002 : ignoring unknown option '-Zc'
    Command line warning D4002 : ignoring unknown option '-Zh'
    Command line warning D4002 : ignoring unknown option '-Zr'
    Command line warning D4002 : ignoring unknown option '-Z_'
    Command line warning D4002 : ignoring unknown option '-Zt'
    Command line warning D4002 : ignoring unknown option '-Z-'
    Command line warning D4002 : ignoring unknown option '-w34100'
    Command line warning D4002 : ignoring unknown option '-w34189'
    command failed with exit code 2
    command failed with exit code 2
    13:02:02: The process "C:\QtSDK\QtCreator\bin\jom.exe" exited with code 2.
    Error while building project testy (target: Desktop)
    When executing build step 'Make'


    Added after 38 minutes:


    if i replace 'jom' with 'nmake' in the build step in Project settings, it compiles nicely. It's weird that the jom thingy doesn't work though
    Last edited by dave2k; 22nd February 2012 at 14:45.

Similar Threads

  1. Building QT program on the Linux in QtCreator
    By piyushpandey in forum Newbie
    Replies: 2
    Last Post: 18th January 2011, 22:29
  2. Replies: 0
    Last Post: 31st December 2009, 10:31
  3. Problem in building outside source directory(loading qrc files fails)
    By Jayakrishnan in forum Installation and Deployment
    Replies: 3
    Last Post: 17th October 2009, 17:00
  4. Building VTK with QTCreator
    By floyd.pepper in forum Newbie
    Replies: 1
    Last Post: 17th August 2009, 09:42
  5. Building of MySQL plugin fails
    By janca in forum Installation and Deployment
    Replies: 2
    Last Post: 21st January 2006, 09:23

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.