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

Build QtRemoteObjects



  • Hi!
    How build QtRemoteObjects
    If I compiled in Qt, then I get error: [Makefile:40: sub-repc-qmake_all] Error 3


  • Lifetime Qt Champion

    Hi,

    Are you using the branch which matches your Qt version ?
    How exactly are you building it ?



  • I may be using the wrong branch. How do I download the necessary one? I use Qt 5.15


  • Lifetime Qt Champion

    Since you cloned the repository, checkout the corresponding branch.



  • I download comit for Qt 15.0 but get error: Makefile:40: sub-repc-qmake_all] Error 3


  • Lifetime Qt Champion

    That's not enough to know what is going on. The error lies in the rest of the log.



  • In log this messages:

    Cannot read E:/QTProject/qtremoteobjects/tools/repc/moc_copy/moc.pri: No such file or directory
    Project ERROR: Could not find feature c++11.
    Project MESSAGE: perl -w E:\Programs\Qt\5.15.0\android\bin\syncqt.pl -module QtRepParser -version 6.0.0 -outdir E:/QTProject/build-qtremoteobjects-Android_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug -builddir E:/QTProject/build-qtremoteobjects-Android_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug E:/QTProject/qtremoteobjects
    Project MESSAGE: perl -w E:\Programs\Qt\5.15.0\android\bin\syncqt.pl -module QtRemoteObjects -version 6.0.0 -outdir E:/QTProject/build-qtremoteobjects-Android_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug -builddir E:/QTProject/build-qtremoteobjects-Android_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug E:/QTProject/qtremoteobjects
    Project MESSAGE: cmake executable not found. Not running CMake unit tests
    Project WARNING: The RESOURCES qmake variable is empty, the test will probably fail to run
    Project WARNING: The RESOURCES qmake variable is empty, the test will probably fail to run
    Ошибка разбора файла E:\QTProject\qtremoteobjects\tools\repc\repc.pro. Отмена.
    Cannot read E:/QTProject/qtremoteobjects/tools/repc/moc_copy/moc.pri: No such file or directory
    Project ERROR: Could not find feature c++11.
    Project MESSAGE: perl -w E:\Programs\Qt\5.15.0\android\bin\syncqt.pl -module QtRepParser -version 6.0.0 -outdir E:/QTProject/build-qtremoteobjects-Android_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug -builddir E:/QTProject/build-qtremoteobjects-Android_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug E:/QTProject/qtremoteobjects
    Project MESSAGE: perl -w E:\Programs\Qt\5.15.0\android\bin\syncqt.pl -module QtRemoteObjects -version 6.0.0 -outdir E:/QTProject/build-qtremoteobjects-Android_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug -builddir E:/QTProject/build-qtremoteobjects-Android_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug E:/QTProject/qtremoteobjects
    Project MESSAGE: cmake executable not found. Not running CMake unit tests
    Project WARNING: The RESOURCES qmake variable is empty, the test will probably fail to run
    Project WARNING: The RESOURCES qmake variable is empty, the test will probably fail to run
    Ошибка разбора файла E:\QTProject\qtremoteobjects\tools\repc\repc.pro. Отмена.
    Cannot read E:/QTProject/qtremoteobjects/tools/repc/moc_copy/moc.pri: No such file or directory
    Project ERROR: Could not find feature c++11.
    Project MESSAGE: perl -w E:\Programs\Qt\5.15.0\android\bin\syncqt.pl -module QtRepParser -version 6.0.0 -outdir E:/QTProject/build-qtremoteobjects-Android_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug -builddir E:/QTProject/build-qtremoteobjects-Android_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug E:/QTProject/qtremoteobjects
    Project MESSAGE: perl -w E:\Programs\Qt\5.15.0\android\bin\syncqt.pl -module QtRemoteObjects -version 6.0.0 -outdir E:/QTProject/build-qtremoteobjects-Android_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug -builddir E:/QTProject/build-qtremoteobjects-Android_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug E:/QTProject/qtremoteobjects
    Project MESSAGE: cmake executable not found. Not running CMake unit tests
    Project WARNING: The RESOURCES qmake variable is empty, the test will probably fail to run
    Project WARNING: The RESOURCES qmake variable is empty, the test will probably fail to ru
    

  • Qt Champions 2019

    @Mikeeeeee said in Build QtRemoteObjects:

    Project ERROR: Could not find feature c++11.

    What exact compiler do you use?
    For recent Qt version you need a C++11 capable compiler.



  • I use clang 7.


  • Qt Champions 2019

    @Mikeeeeee According to https://clang.llvm.org/cxx_status.html you need to activate complete C++11 support using -std=c++11 parameter



  • I add -std = c ++ 11 in additional build options, but I get the old error


  • Lifetime Qt Champion

    Are you building from Qt Creator ?



  • Yes, in Qt Creato


  • Lifetime Qt Champion

    Can you download the sources using the online installer rather than git and check with that one ?


Log in to reply