Results 1 to 5 of 5

Thread: Makefile moc path corrupted in WindowsXP Qt 4.4.2

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2008
    Posts
    13
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Windows

    Default Makefile moc path corrupted in WindowsXP Qt 4.4.2

    Hi from a total newbie. I want to report a bug in Qt 4.4.2
    I am trying to compile the qwt demo called "sliders.cpp"

    The compile failed everytime trying to find Qt/4.4.2bin/moc.exe
    because it missed a slash between the 4.4.2 and the bin.

    I found the offending line in Makefile.debug
    C:\Qt\4.4.2\bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 sliders.h -o

    and corrected it manually to read
    C:/Qt/4.4.2/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 sliders.h -o

    and now it compiles and executes perfectly on my WindowsXP/SP3 machine.

    where is that error generated? how do I fix it? it seems that qmake is creating
    the bad Makefile, but I am so new that I don't know how to fix or patch it

    Please let me know how to fix this in my installation.
    thanks,
    Ken - Naperville, IL USA
    Last edited by khopper; 27th September 2008 at 19:44.

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
  •  
Qt is a trademark of The Qt Company.