Discussion Board

Results 1 to 3 of 3
  1. #1
    Some makefile paths seem to mix slashes and backslashes and cause compilation errors.

    I can recreate the problem like this:
    1) start new Mobile Qt Application project
    2) Select Qt simulation target (MinGW 4.4)
    3) build

    Error in compilation:
    moc ../MobQtTest/mainwindow.h
    /usr/bin/sh: C:appsNokiaQtSDKSimulatorQtmingwbin/moc.exe: No such file or directory

    Line in Makefile.Debug:
    debug/moc_mainwindow.cpp: ../MobQtTest/mainwindow.h
    @echo moc ../MobQtTest/mainwindow.h && C:\apps\NokiaQtSDK\Simulator\Qt\mingw\bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 ../MobQtTest/mainwindow.h -o debug/moc_mainwindow.cpp

    Problem can be manually fixed by changing the backslashes to slashes:
    debug/moc_mainwindow.cpp: ../MobQtTest/mainwindow.h
    @echo moc ../MobQtTest/mainwindow.h && C:/apps/NokiaQtSDK/Simulator/Qt/mingw/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 ../MobQtTest/mainwindow.h -o debug/moc_mainwindow.cpp

    There are similar path problems for some libraries as well.

    Cheers,
    Ilari

  2. #2
    Nokia Developer Expert mkalinow's Avatar
    Join Date
    May 2009
    Posts
    22
    IIRC correctly this issue has been resolved. So please be patient for one of the upcoming simulator updates.

  3. #3
    Registered User TimsonC2000's Avatar
    Join Date
    Apr 2009
    Posts
    32
    Another solution would be to remove the sh.exe which is accessable throw your PATH environment variable if you run QMake/QtCreator.

Similar Threads

  1. Lots of include paths in Carbide express 1.1
    By svdwal in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2006-12-14, 10:11
  2. Replies: 1
    Last Post: 2006-09-08, 07:05
  3. Bug: Carbide.c++ Express Reorders Include Paths
    By colinward1970 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 0
    Last Post: 2006-07-07, 10:30
  4. Replies: 0
    Last Post: 2006-06-05, 09:43
  5. Error : Too many include paths! Please reduce the number of include paths or ....
    By npr.novo in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 8
    Last Post: 2006-02-06, 21:42

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved