Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Jobs
  4. Quick job offer: Fix building the old Qt3D module for Qt 5.9.1. (Results are open-sourced.)
Forum Updated to NodeBB v4.3 + New Features

Quick job offer: Fix building the old Qt3D module for Qt 5.9.1. (Results are open-sourced.)

Scheduled Pinned Locked Moved Unsolved Jobs
5 Posts 3 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mourl
    wrote on last edited by mourl
    #1

    If you're experienced with the Qt module build system, this job should be a breeze:
    The build of the old Qt3D module (https://github.com/chdinh/qt3d) fails with an error in 'syncqt.pl'.
    Otherwise, the module compiles just fine.
    The build worked with previous Qt versions, including Qt 5.7.

    Can you help me fix the build? Please post an offer!
    The results will be shared with the community by open-sourcing the patches.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      murb
      wrote on last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • M Offline
        M Offline
        mourl
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi and welcome to devnet,

          What platform are you targeting ?
          What exact error are you getting ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mourl
            wrote on last edited by mourl
            #5

            Thanks for responding!

            The main target is Windows 8/10 with VS2017, but the issue might not be platform-specific.

            Here's the exact version of the repo that builds successfully with Qt 5.7 + VS2015:
            https://github.com/nonsequitur/qt3d

            When building with Qt 5.9 + VS2017, I get the following error:

            ...
            Project MESSAGE: perl -w E:\builds\qt\qt_5.9\qt5\qtbase\bin\syncqt.pl -module Qt3DQuick -version 5.3.0 -outdir E:/builds/qt/qt_5.9/build/qt3d-old C:/home/dev/qt/qt3d-old
            
            Microsoft (R) Program Maintenance Utility Version 14.10.25019.0
            Copyright (C) Microsoft Corporation.  All rights reserved.
            
            "c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64\nmake.exe" -f Makefile.Debug all
            
            Microsoft (R) Program Maintenance Utility Version 14.10.25019.0
            Copyright (C) Microsoft Corporation.  All rights reserved.
            
            copy /y C:\home\dev\qt\qt3d-old\src\quick3d\Cube.qml \Qt3D\Shapes\Cube.qml
            Das System kann den angegebenen Pfad nicht finden. (Translation: The system can't find the specified path )
            0 Datei(en) kopiert.  (Translation: 0 files copied)
            NMAKE : fatal error U1077: 'copy' : return code '0x1'
            Stop.
            NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64\nmake.exe"' : return code '0x2'
            Stop.
            NMAKE : fatal error U1077: 'cd' : return code '0x2'
            Stop.
            NMAKE : fatal error U1077: 'cd' : return code '0x2'
            Stop.
            

            With Qt 5.7, the same step runs successfully:

            ...
            Project MESSAGE: perl -w E:\builds\qt\qt_5.7\qt5\qtbase\bin\syncqt.pl -module Qt3DQuick -version 5.3.0 -outdir E:/builds/qt/qt_5.7/build/qtbase C:/home/dev/qt/qt3d-old
            
            Microsoft (R) Program Maintenance Utility Version 14.00.24210.0
            Copyright (C) Microsoft Corporation.  All rights reserved.
            
                "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe" -f Makefile.Debug all
            
            Microsoft (R) Program Maintenance Utility Version 14.00.24210.0
            Copyright (C) Microsoft Corporation.  All rights reserved.
            
                copy /y C:\home\dev\qt\qt3d-old\src\quick3d\Cube.qml E:\builds\qt\qt_5.7\build\qtbase\qml\Qt3D\Shapes\Cube.qml
                    1 Datei(en) kopiert. (Translation: 1 file copied)
            

            In hindsight, it's probably not syncqt.pl that causes the error. I couldn't find a way to get nmake to show which subprocesses are launched while building.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved