Results 1 to 3 of 3

Thread: qt4.4.0 using windows, moc.exe not found

  1. #1
    Join Date
    Jul 2008
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default qt4.4.0 using windows, moc.exe not found

    Hello,

    i just tried to compile sourcecode also in windows. Qmake produces Makefile, compilation starts fine using make, but then i have
    C:Qt4.4.0bin/moc.exe: Command not found!

    Obviously this command can't be found, the \ or / are missing. How do i change this?
    I have no msys in my environment variable path (one possible source of this error).

    Steffen

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: qt4.4.0 using windows, moc.exe not found

    Are you using Qt Command Prompt from the Windows Start-menu?
    J-P Nurmi

  3. #3
    Join Date
    May 2008
    Location
    Kyiv, Ukraine
    Posts
    418
    Thanks
    1
    Thanked 29 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: qt4.4.0 using windows, moc.exe not found

    Looks like QTDIR environment variable has not been set up properly.
    I'm a rebel in the S.D.G.

Similar Threads

  1. Visual Studio 2005 Express
    By Muzz in forum Installation and Deployment
    Replies: 22
    Last Post: 6th November 2008, 06:21
  2. Replies: 17
    Last Post: 3rd July 2008, 00:48
  3. Program crashes with assert error in xcb_lock.c
    By Valheru in forum Qt Programming
    Replies: 3
    Last Post: 18th November 2007, 19:56
  4. KDE 3.5.0 crash while opening project
    By MarkoSan in forum KDE Forum
    Replies: 2
    Last Post: 19th October 2007, 16:21

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.