Results 1 to 3 of 3

Thread: Long Includepath and mocinclude.tmp problem - Windows64/mingw64 QT5.1.0

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2014
    Posts
    2
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Question Long Includepath and mocinclude.tmp problem - Windows64/mingw64 QT5.1.0

    Hi all,

    in my project I have a lot of include paths because of the organisation of the code. However at around 38 different includes (I know that is quite a lot) I am getting problems with compiling the code.

    For this large amount of includes qmake changes from the standard include method to the mocinclude.tmp. However this seems not to work:

    mingw32-make[2]: Entering directory 'C:/git/#####'
    qtmake.mk.Release:219: recipe for target 'build/release64/.moc/mocinclude.tmp' failed
    process_begin: CreateProcess(C:\Temp\make712-1.bat, C:\Temp\make712-1.bat, ...) failed.
    make (e=267): Der Verzeichnisname ist ungültig. (German for path name is not valid)

    mingw32-make[2]: *** [build/release64/.moc/mocinclude.tmp] Error 267
    mingw32-make[2]: Leaving directory 'C:/git/#####'
    qtmake.mk:48: recipe for target 'release' failed
    mingw32-make[1]: Leaving directory 'C:/git/#####'
    Makefile:4: recipe for target 'all' failed
    mingw32-make[1]: *** [release] Error 2
    mingw32-make: *** [all] Error 2
    Line 218 and 219 of the qtmake.Release Makefile are
    build/release64/.moc/mocinclude.tmp:
    @echo -IC:/git/ExternalTools/QTXlsx/src/xlsx> build/release64/.moc/mocinclude.tmp
    At the moment I reduced the amount of includes because, I do not need all libaries. However it would be interesting to have a solution for this problem. Does anybody has the same experience, is this a bug or do I have missed some configuration for that?

    I a currently working with mingw64, qt 5.1.0 (compilied by myself with mingw64) and windows 7 64 Bit.

    Thank you for your support!

    Best regards
    Stefan

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Long Includepath and mocinclude.tmp problem - Windows64/mingw64 QT5.1.0

    Does the temporary .bat file, e.g. make712-1, actually get created? What file is make complaining is missing?

  3. #3
    Join Date
    May 2014
    Posts
    2
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: Long Includepath and mocinclude.tmp problem - Windows64/mingw64 QT5.1.0

    Hi,
    I am not sure if the batch file ever gets created. If so, it is for sure only temporary.

    I played around with the mocinclude.tmp. If I created the file in advance (empty) the compiliation works and finishes successfully. The file itself stays empty, that means the Makefile just sees that the file exists and does nothing anymore. Furthermore the mocinclude.tmp file seems to be obsolete.

    Can I prevent that the mocinclude.tmp creation gets included into the make files? Is there a parameter for this or is this fix complied into QT? Seems to be an old feature and not needed anymore!

    Thank you for your replies!

Similar Threads

  1. Replies: 3
    Last Post: 4th December 2012, 18:51
  2. Qwt + mingw64
    By baray98 in forum Qwt
    Replies: 4
    Last Post: 4th February 2011, 21:24
  3. Replies: 4
    Last Post: 27th October 2010, 20:08
  4. 4.6 and Mingw64
    By rubenvb in forum Installation and Deployment
    Replies: 1
    Last Post: 7th January 2010, 18:16
  5. another qmake INCLUDEPATH spaces problem
    By mmueller in forum Qt Programming
    Replies: 4
    Last Post: 31st July 2008, 15:12

Tags for this Thread

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.