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

meta-qt5 master sources qt5-creator issue Kit Selection issue



  • Hi Guys,

                 I am building qt  using meta-qt5 master sources with openembedded-core  layer & meta-openembedded dunfell version sources.
    

    compatible_host = riscv64
    machine = freedom-u540
    gcc version 8.3
    glibc version 2.30

    when I am launching my qtcreator ide, when i want to choose my kit version . It is not picking my selected kit version.

    showing No suitable kits found.

    I am facing issue Error : At least one required feature is not present.
    warning : Cmake version is unsupported.Please update to version 3.14(with file-api) or later.

    So, previously i updated 3.15 Cmake version again I updated 3.18 version also but same issue i am facing.

    Cmake (Default) Version : Supports fileApi:no
    CMake executable does not provided required IDE integration features.

    SO, I am trying to working with qmake. when I am giving qmake path. giving path ( /usr/bin/qmake) but it is showing could not select is showing.

    Even qt version also am trying to choose it is always showing none.

    so I gave this command checking my qt version
    checking command : qmake -query
    QT_SYSROOT:
    QT_INSTALL_PREFIX:/usr
    QT_INSTALL_ARCHDATA:/usr/lib
    QT_INSTALL_DATA:/usr/share
    QT_INSTALL_DOCS:/usr/share/doc
    QT_INSTALL_HEADERS:/usr/include
    QT_INSTALL_LIBS:/usr/lib
    QT_INSTALL_LIBEXECS:/usr/lib/libexec
    QT_INSTALL_BINS:/usr/bin
    QT_INSTALL_TESTS:/usr/share/tests
    QT_INSTALL_PLUGINS:/usr/lib/plugins
    QT_INSTALL_IMPORTS:/usr/impors
    QT_INSTALL_QML:/usr/lib/qml
    QT_INSTALL_TRANSLATIONS:/usr/share/trasnlations
    QT_INSTALL_CONFIGURATION:/etc
    QT_INSTALL_EXAMPLES:/usr/share/examples
    QT_HOST_PREFIX:/usr
    QT_HOST_DATA:/usr/lib
    QT_HOST_BINS:/usr/bin
    QT_HOST_LIBS:/usr/lib
    QMAKE_SPEC:linux-g++
    QMAKE_XSPEC:linux-g++
    QMAKE_VERSION:3.1
    QT_VERSION:5.15.0

    I installed every dependency qtcreator
    qtcreator dependencies :
    DEPENDS += "
    qtbase
    qtscript
    qtxmlpatterns
    qtx11extras
    qtdeclarative
    qttools
    qttools-native
    qtsvg
    chrpath-replacement-native
    zlib"
    DEPENDS_append_libc-musl = " libexecinfo"

    But why no suitable kits found.

    Is anybody Know this please help me to solve this issue.

    Thanks & Regards,
    Sateesh


  • Lifetime Qt Champion

    @sateesh-m said in meta-qt5 master sources qt5-creator issue Kit Selection issue:

    when I am giving qmake path. giving path ( /usr/bin/qmake) but it is showing could not select is showing

    What does that mean?
    Is /usr/bin/qmake really from Qt version you built by yourself?



  • Hi Jsulm,

                         qmake is a binary  present in the  "/usr/bin/ " . So am giving complete path upto qmake binary in my qtcreator ide. i am attaching my screenshots please check it once.  ![cmake&qmake-choosing(x5KAXCYk1fT) (1).jpg](https://ddgobkiprc33d.cloudfront.net/91884e28-cbab-45aa-809b-fda04d421417.jpg) ![cmake&qmake-choosing(x5KAXCYk1fT) (2).jpg](https://ddgobkiprc33d.cloudfront.net/1c9ff3c1-b1dc-4172-9667-8f679c191cd8.jpg) ![processed (5)(RM98bp5GJQn).jpg](https://ddgobkiprc33d.cloudfront.net/4894e6bb-665c-46fc-8ec4-349f77bbf1c5.jpg)

  • Lifetime Qt Champion

    @sateesh-m Again: Is /usr/bin/qmake really from Qt version you built by yourself?
    You wrote that you built Qt by yourself, did you also install it (for example "make install")?



  • Hi Jsulm,

                I didn't installed  using make commands. I used Yocto development. qt5-creator recipe its present in meta-qt5 layer master branch . when I was install this package it genertae qmake binaries in the /usr/bin path.  
    

    My problem is I cannot add qmake to Qtversion in tool -> Build and Run

    Please guide me to solve this issue.

    Thanks & Regards,
    Sateesh


  • Lifetime Qt Champion

    @sateesh-m Can you execute /usr/bin/qmake in a terminal (does that work?)?



  • Yes @jsulm , it does.
    I was able to build a simple hello world application.



  • Can suggest any solution solving this issue?


  • Lifetime Qt Champion

    @sateesh-m What exactly happens if you try to add your Qt version using /usr/bin/qmake?



  • Qmkae Not Executable -Qt Creator

    The qmake executable /usr/bin/qmake could not be added.


  • Lifetime Qt Champion

    @sateesh-m said in meta-qt5 master sources qt5-creator issue Kit Selection issue:

    Qmkae Not Executable -Qt Creator

    Can you post the error like it is shown in QtCreator?


Log in to reply