Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt compilation issues



  • hi,

    i have downloaded qt source code and facing the problem in compiling,
    and the below error is

    C:/Users/Windows: No such file or directory at C:\Users\Windows 8.1\Documents\GitHub\qt5\qtbase\bin\syncqt.pl line 690.
    Project MESSAGE: perl -w "C:\Users\Windows 8.1\Documents\GitHub\qt5\qtbase\bin\syncqt.pl" -module QtZlib -version 5.7.0 -outdir "C:/Users/Windows 8.1/Documents/GitHub/build-qt-Desktop_Qt_5_4_0_MinGW_32bit-Debug/qtbase" C:/Users/Windows 8.1/Documents/GitHub/qt5/qtbase
    Project ERROR: Failed to run: perl -w "C:\Users\Windows 8.1\Documents\GitHub\qt5\qtbase\bin\syncqt.pl" -module QtZlib -version 5.7.0 -outdir "C:/Users/Windows 8.1/Documents/GitHub/build-qt-Desktop_Qt_5_4_0_MinGW_32bit-Debug/qtbase" C:/Users/Windows 8.1/Documents/GitHub/qt5/qtbase

    please provide necessity help
    thanks,


  • Moderators

    @Pradeep-Kumar
    put your Qt sources in a directory path without spaces and try again.



  • @raven-worx

    hi,

    i was using windows to do the configuration and building the source code,

    now i am using ubuntu to configure and build the source code, hope this will work.


  • Moderators

    @Pradeep-Kumar
    As i said, your problem is that you had spaces in your path



  • the problem was spacing, so i compiled in ubuntu.
    without spacing, it worked.

    Thanks friends for the answers which helped me to compile.

    Thanks,


Log in to reply