Results 1 to 5 of 5

Thread: Problem with make (can't call moc.exe)

  1. #1
    Join Date
    Feb 2006
    Posts
    47
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Arrow Problem with make (can't call moc.exe)

    Hello, I seem to have run into the following problem under WinXP, Qt4.1.1:

    Qt Code:
    1. /usr/bin/sh: C:Qt4.1.1binmoc.exe: No such file or directory
    2. mingw32-make[1]: *** [release\moc_AcquisitionBrowserWidget.cpp] Error 127
    3. mingw32-make[1]: Leaving directory `C:/Documents and Settings/ACER User/Desktop/
    4. QCT'
    5. mingw32-make: *** [release] Error 2
    6.  
    7. C:\Documents and Settings\ACER User\Desktop\QCT>
    To copy to clipboard, switch view to plain text mode 

    It must have something to do with the paths, can anyone help? The line "C:Qt4.1.1binmoc.exe" is suspicious and makes me wonder if this is a good version of make. Of course it should read "C:\Qt4.1.1\bin\moc.exe".

    Thank you.
    John.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problem with make (can't call moc.exe)

    Remove path to MSYS from PATH environment variable.

  3. #3
    Join Date
    Feb 2006
    Posts
    47
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problem with make (can't call moc.exe)

    There doesn't seem to be such an entry in PATH:
    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32\Wbem;C:\cygwin\bin;C:\Qt\4.1.1\bin;C:\MATLA B7\bin\win32;C:\Qt\4.1.1\bin;C:\MinGW\bin;C:\DCMTK-3.5.4\bin

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problem with make (can't call moc.exe)

    Quote Originally Posted by johnny_sparx
    There doesn't seem to be such an entry in PATH:
    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32\Wbem;C:\cygwin\bin;C:\Qt\4.1.1\bin;C:\MATLAB7\bin\win32;C:\Qt\4.1.1\b in;C:\MinGW\bin;C:\DCMTK-3.5.4\bin
    But there is path to Cygwin --- try removing it.

  5. #5

    Default Re: Problem with make (can't call moc.exe)

    /usr/bin/sh: c:Qt4.2.3binmoc.exe: command not found
    I have also same problem, when build program.
    I don't have MSYS or Cydwin in PATH environment variable.

    C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin;;C:\Program Files\ImageConverter Plus;C:\Program Files\SSH Communications Security\SSH Secure Shell;C:\Qt\4.2.3\bin;C:\MinGW\bin;


    please help me

Similar Threads

  1. Qt 4.4.0 make problem
    By MarkoSan in forum Installation and Deployment
    Replies: 24
    Last Post: 22nd January 2008, 17:58
  2. QT4 for kde 4 beta 2 configure problem: make not found
    By marcomangiante in forum Installation and Deployment
    Replies: 1
    Last Post: 5th September 2007, 20:35
  3. Qtopia core 4 make problem on FC5
    By nousetest in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 8th April 2007, 10:44
  4. Compiling with Qmake/Make
    By VireX in forum Newbie
    Replies: 25
    Last Post: 22nd February 2007, 05:57
  5. make problem
    By deekayt in forum Installation and Deployment
    Replies: 1
    Last Post: 30th November 2006, 17:33

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.