Results 1 to 2 of 2

Thread: QtCreator with Visual C++ 9 compiler chain source file name problem

  1. #1
    Join Date
    Mar 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default QtCreator with Visual C++ 9 compiler chain source file name problem

    Helllo guys,

    I recently moved from MinGW compiler suite to Visual C++ 9 ... Now I use QtCreator 1.3.1 and Qt libraries 4.6.2 for Windows (VS 2008) that can be freely downloaded from Qt web site. Everything works quite fine except some strange things. Now I can't compile project if it contains source file name having multiple dots in it, like "TestClass.pb.cpp" . Here is compile output:

    Starting: C:/Qt/2010.02.1/bin/jom.exe
    C:\Qt\2010.02.1\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_CORE_LIB -DQT_THREAD_SUPPORT -I"c:\Qt\4.6.2\include\QtCore" -I"c:\Qt\4.6.2\include" -I"c:\Qt\4.6.2\include\ActiveQt" -I"debug" -I"c:\Qt\4.6.2\mkspecs\win32-msvc2008" -Fodebug\ @C:\DOCUME~1\USER\LOCALS~1\Temp\main.obj.115791390 .jom
    main.cpp
    cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"c:\Qt\4.6.2\include\QtCore" -I"c:\Qt\4.6.2\include" -I"c:\Qt\4.6.2\include\ActiveQt" -I"debug" -I"c:\Qt\4.6.2\mkspecs\win32-msvc2008" -Fodebug\ @C:\DOCUME~1\USER\LOCALS~1\Temp\TestClass.obj.1157 91406.jom
    TestClass.cpp
    link /LIBPATH:"c:\Qt\4.6.2\lib" /NOLOGO /DEBUG /SUBSYSTEM:CONSOLE /MANIFEST /MANIFESTFILE:"debug\QtConsoleVC9Test.intermediate. manifest" /OUT:debug\QtConsoleVC9Test.exe @C:\DOCUME~1\USER\LOCALS~1\Temp\QtConsoleVC9Test.e xe.115792546.jom
    LINK : fatal error LNK1104: cannot open file 'debug\TestClass2.pb.obj'
    command failed with exit code 11

    As you can mention QtCreator doesn't even try to generate TestClass2.pb.obj because there is no call to CL compiler for file TestClass.pb.cpp !!!

    Maybe somebody has ideas what is wrong???

  2. #2
    Join Date
    Mar 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QtCreator with Visual C++ 9 compiler chain source file name problem

    Yepp ... I think I found problem. It's bug in jom.exe tool ... I disabled jom usage and nmake builds project without problems. Jom is still quite raw thing ...

Similar Threads

  1. QtCreator compiler options
    By soxs060389 in forum Installation and Deployment
    Replies: 2
    Last Post: 2nd December 2011, 01:19
  2. Replies: 2
    Last Post: 28th April 2009, 09:37
  3. how to compile c++ source file in qtCreator
    By orky7 in forum General Programming
    Replies: 6
    Last Post: 20th March 2009, 07:45
  4. MingW x Visual Studio compiler
    By john_god in forum Installation and Deployment
    Replies: 2
    Last Post: 22nd September 2008, 18:06
  5. How to deal with jpeg deployment problem with Visual C++ compiler
    By nooky59 in forum Installation and Deployment
    Replies: 5
    Last Post: 27th March 2008, 12:20

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.