Results 1 to 2 of 2

Thread: problem with qt 4.7.0

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

    Default problem with qt 4.7.0

    today I install qt 4.7.0 (windows and netbeans with mingw 4.5)
    now when I try build my program I get this error:

    ...
    WARNING: c:\Users\Mateusz\Documents\NetBeansProjects\TSP\nb project\qt-Debug.pro:16: Unescaped backslashes are deprecated.
    ...
    make[2]: C:/Qt/4.7.0/binmoc.exe: Command not found
    ...
    make[2]: *** [qt_moc/debug/moc_TMainWindow.cpp] Error 127
    make[1]: *** [.build-conf] Error 2
    make: *** [.build-impl] Error 2
    make[2]: C:/Qt/4.7.0/binmoc.exe: Command not found
    there are missing a backslash.

    when I switch my netbeans to work with qt 4.6.3 all works fine

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: problem with qt 4.7.0

    Fix the backslash problem and it might work.

    The command should be
    Qt Code:
    1. C:/Qt/4.7.0/bin/moc.exe
    To copy to clipboard, switch view to plain text mode 
    The missing slash is likely caused by the warning you see.

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.