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

mingw moc cross compile hangs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.10.0
    • Build tools: moc
    • None
    • fedora rawhide in docker container

       

       

    Description

      I'm trying to cross compile PythonQt (not PyQt nor PySide) from http://pythonqt.sourceforge.net/  using the cmake provided by https://github.com/Orochimarufan/PythonQt.git

       

      To reproduce it I used docker with fedora:rawhide (see Dockerfile attached)

      It looks like the moc hangs and asks for std input

       

      cd /PythonQt/cross/src/gui && /usr/i686-w64-mingw32/bin/qt5/moc @`
      

      issuing errors like  

      standard input:0: Note: No relevant classes found. No output generated.

       

      of course this is the same if I run the command by hand, but it works if I replace the "@" with the contents of the 

      /PythonQt/cross/src/gui/moc_PythonQtScriptingConsole.cpp_parameters 

      file

      but it works if I give this (equivalent) command

      cd /PythonQt/cross/generated_cpp_58/com_trolltech_qt_gui_builtin &&  /usr/i686-w64-mingw32/bin/qt5/moc `tr '\n' ' ' < /PythonQt/cross/generated_cpp_56/com_trolltech_qt_gui_builtin/moc_com_trolltech_qt_gui_builtin0.cpp_parameters`
      

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            tommaso tommaso
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes