QT sample project

  • Hello,


    I can not find the mentioned document "Application Development with QT5" in the Linux folder.

    So far I only know the short description about QT in the document "Quick Start with F & S Development Machine"


    Best regards

    Thomas

  • The name of the document above is a link. If you follow the link, you get a description where the document can be found.


    Your F&S Support Team

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Sorry, I searched for the document in the wrong tab.


    The example for the desktop works now.


    But there are some issues with the target device.


    - The list of files to be deployed is empty.

    I added to the .pro file:

    linux-* {

    target.path = /root

    INSTALLS += target

    }


    - Is the configuration for the CMake Tool in Figure 13 correct?

    Would not it have to be CMake (for ARM Cross Compile)?


    - The "general message" window shows an error:

    /home/developer/picocoremx6sx-B2019.03/build/buildroot-2018.11-fsimx6sx-B2019.03/output/host/mkspecs/features/qmake_use.prf(6): 'take_first' is not a recognized replace function.

    Project ERROR: Library '' is not defined.


    Best regards

    Thomas

  • Hi,


    - The list of files to be deployed is empty.

    I added to the .pro file:

    linux-* {

    target.path = /root

    INSTALLS += target

    }


    Thanks for the hints, we will check our documentation and change it.


    - Is the configuration for the CMake Tool in Figure 13 correct?

    Would not it have to be CMake (for ARM Cross Compile)?


    Yes you are right there is something wrong in the Figure, we will fix it.


    - The "general message" window shows an error:

    /home/developer/picocoremx6sx-B2019.03/build/buildroot-2018.11-fsimx6sx-B2019.03/output/host/mkspecs/features/qmake_use.prf(6): 'take_first' is not a recognized replace function.

    Project ERROR: Library '' is not defined.


    Do you use your own virtual machine or do you use our Fedora 23 Development machine?

    And you are using the release picocoremx6sx-B2019.03?



    Your F&S Support Team

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hello,


    the additions to the .pro file are already in the documentation. After restarting QT Creator, the executable was finally in the list of deployment files!


    I use your Fedora 23 Development machine, picocoremx6sx-B2019.03 and QT Creator 4.0.3.

    Do you recommend a newer version of QT Creator?


    Best regards

    Thomas

  • Hello,


    yes, you can try to update your Qt Creator to at least version 4.1.0. Qt.

    This should fix your "'take_first' is not a recognized replace function"-message.


    To install the new Qt-Creator you may have to install a newer QT-Version too.


    In a few weeks, we will release a new version of the FS-Development machine, with a newer Qt-creator version preinstalled.


    Your F&S Support Team