Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-59162

Moc compile error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.8.0
    • Build tools: moc
    • None

    Description

      MOC --include option does not contains double-quote around path.
      My windows 10 account include a whitespace and so --include option make MOC fails:

      C:\Qt\Qt5.8.0\5.8\mingw53_32\bin\moc.exe -DUNICODE -DQUARK_EMU_VERSION=2017.02.26-beta -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN --include C:/Users/Thierry Wilmot/Sync/QuarkEmu/bin/release/win32/moc/moc_predefs.h -IC:/Qt/Qt5.8.0/5.8/mingw53_32/mkspecs/win32-g++ -I"C:/Users/Thierry Wilmot/Sync/QuarkEmu" -I"C:/Users/Thierry Wilmot/Sync/QuarkEmu/src" -I"C:/Users/Thierry Wilmot/Sync/QuarkEmu/thirdparty/lua-5.3.3/src" -I"C:/Users/Thierry Wilmot/Sync/QuarkEmu/thirdparty/SDL2/include" -IC:/Qt/Qt5.8.0/5.8/mingw53_32/include -IC:/Qt/Qt5.8.0/5.8/mingw53_32/include/QtWidgets -IC:/Qt/Qt5.8.0/5.8/mingw53_32/include/QtMultimedia -IC:/Qt/Qt5.8.0/5.8/mingw53_32/include/QtGui -IC:/Qt/Qt5.8.0/5.8/mingw53_32/include/QtANGLE -IC:/Qt/Qt5.8.0/5.8/mingw53_32/include/QtNetwork -IC:/Qt/Qt5.8.0/5.8/mingw53_32/include/QtCore -I. -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1 -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/8.0.0/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include ..\src\mainwindow.h -o ..\bin\release\win32\moc\moc_mainwindow.cpp
      moc: Too many input files specified: 'Wilmot/Sync/QuarkEmu/bin/release/win32/moc/moc_predefs.h' '..\src\mainwindow.h'

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ogoffart Olivier Goffart (Woboq GmbH)
            quadbyte thierry wilmot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes