Setup QT Creator with Yocto Build

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Setup QT Creator with Yocto Build

Setup QT Creator with Yocto Build

bitbaked meta-toolchain-qt

Install it  with

~/yocto/build/tmp/deploy/sdk$ poky-eglibc-x86_64-arm-toolchain-qt-1.4.1.sh

Download Qtcreator from here http://qt-project.org/downloads

and Install it to Your home directory

edit the bin/qtcreator.sh

source /opt/poky/1.4.1/environment-setup-armv7a-vfp-neon-poky-linux-gnueabi
#! /bin/sh

makeAbsolute() {
    case $1 in
        /*)
            # already absolute, return it
            echo "$1"
            ;;
        *)
            # relative, prepend $2 made absolute
            echo `makeAbsolute "$2" "$PWD"`/"$1" | sed 's,/\.$,,'
            ;;
    esac
}

....

To do it before "#! /bin/sh" is IMPORTANT!!!!

In QtCreator i set

Compiler as

               /opt/poky/1.4.1/sysroots/x86_64-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++

Qt version as

        

                     /opt/poky/1.4.1/sysroots/x86_64-pokysdk-linux/usr/bin/qmake

sysroot as

                    /opt/poky/1.4.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi

Put them in a Kit

For connection to Your Board click on  Device  --->    Manage

Build a new project

and add some to the .pro file

Building the image for Your Board:

add        

EXTRA_IMAGE_FEATURES = "debug-tweaks ssh-server-openssh" to Your localconfig

bitbake core-image-sato-sdk

set a password to root  via

ssh root@[boardip]

passwd

test connection via

sftp  root@[boardip]

start qtcreator

./qtcreator.sh

Message was edited by: Joerg Boge

Good Video to get more Information about Programming are this

Beaglebone: LCD Touchscreen GUI Applications for Embedded Linux - YouTube

Beaglebone: Qt Creator for C++ ARM Embedded Linux Development - YouTube

Beaglebone: Example Qt Embedded Linux Application - YouTube

It is for Beagelbone but for programming Qt it is a good start.

Dieses Dokument wurde aus folgender Diskussion erzeugt: Setup QT Creator with Yocto Build

Comments

Hi there!

Starting the ./qtcreator.sh from the Terminal works fine for me but isn't very convenient I think.

Why isn't it possible to set all the env-Variables directly in the build settings of Qt Creator?

Setting the environment variables (which is everyhing what the environment-setup-... does at the moment) directly in Qt Creator (Projects->Build Settings->Build Environment) doesn't work - does anyone know why?

The other way around for me would be to create a .desktop for a quick execution of the .sh from the Desktop/Starter Menu.

But there is another problem with creating a .desktop file on Ubuntu: It doesn't find the environment-setup-... (1: /mypath/qtcreator.sh: source: not found) on starting with the .desktop-file - is there something wrong? As already set: Executing it directly from the terminal works flawlessly.

qtcreator.desktop (in same directory as qtcreator.sh)

[Desktop Entry]

Version=2.8.1

Name=Qt Creator

Exec=/mypath/qtcreator.sh

Icon=QtProject-qtcreator

Terminal=true

Type=Application

Categories=Development;IDE;Qt;

MimeType=text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.nokia.qt.qmakeprofile;application/vnd.nokia.xml.qt.resource;text/x-qml;

Any other ideas in improving this step and working around the "problem" of starting the qtcreator from the terminal?

Me again :smileywink:

Maybe we should also mention to use bitbaked meta-toolchain-qte to use e.g. the QWS Qt Window Server without the need for X11.

What do you think?

Best regards

Florian

Hello Florin,

You should give it a try. I build fsl-image-gui with that local.conf features:

MACHINE ??= 'YOURBAORD'

DISTRO ?= 'poky'

PACKAGE_CLASSES ?= "package_rpm"

EXTRA_IMAGE_FEATURES = "debug-tweaks ssh-server-openssh"

CORE_IMAGE_EXTRA_INSTALL_append = "openssh-sftp-server "

TOOLCHAIN_HOST_TASK_append = " nativesdk-python-subprocess" 

works fine. debugging i did'nt test till now

So with this setup you were able use QWS without X11? Because I also tried successfully the fsl-image-gui. But then it uses X11 instead of directfb for rendering the Qt-Application.

For performance and faster boot I wanted to get rid of X11.

And what I thought is, that I have to use the meta-toolchain-qte instead of meta-toolchain-qt to compile my Qt-App the right way - if that is the case we should mention it in this DOC.

I am following all the steps mentioned above, however after I  boot the Nitrogen 6x  board, I am unable to connect through sftp.

It has the following error, can someone please help me out

sftp root@192.168.2.26

root@192.168.2.26's password:

sh: /usr/lib/openssh/sftp-server: No such file or directory

Connection closed

Thanks

When I run "bitbaked meta-toolchain-qt", I meet a problem.

Missing or unbuildable dependency chain was ["meta-toolchain-qt","packagegroup-qt-toolchain-target","qt4-mkspecs","virtual/libx11"]

Why it is?

%3CLINGO-SUB%20id%3D%22lingo-sub-1104138%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ESetup%20QT%20Creator%20with%20Yocto%20Build%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1104138%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CBLOCKQUOTE%3E%0A%3CP%20style%3D%22padding-left%3A%2030px%3B%22%3Ebitbaked%20meta-toolchain-qt%3C%2FP%3E%0A%0A%0A%0A%0A%0A%3C%2FBLOCKQUOTE%3E%3CP%20style%3D%22padding-left%3A%2030px%3B%22%3E%3C%2FP%3E%3CP%3EInstall%20it%26nbsp%3B%20with%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CBLOCKQUOTE%3E%0A%3CP%3E~%2Fyocto%2Fbuild%2Ftmp%2Fdeploy%2Fsdk%24%20poky-eglibc-x86_64-arm-toolchain-qt-1.4.1.sh%3C%2FP%3E%0A%0A%0A%0A%0A%0A%3C%2FBLOCKQUOTE%3E%3CP%3E%3C%2FP%3E%3CP%3EDownload%20Qtcreator%20from%20here%20%3CA%20href%3D%22http%3A%2F%2Fqt-project.org%2Fdownloads%22%20title%3D%22http%3A%2F%2Fqt-project.org%2Fdownloads%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttp%3A%2F%2Fqt-project.org%2Fdownloads%3C%2FA%3E%3C%2FP%3E%3CP%3Eand%20Install%20it%20to%20Your%20home%20directory%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3Eedit%20the%20bin%2Fqtcreator.sh%3C%2FP%3E%3CBLOCKQUOTE%3E%0A%3CP%3Esource%20%2Fopt%2Fpoky%2F1.4.1%2Fenvironment-setup-armv7a-vfp-neon-poky-linux-gnueabi%3CBR%20%2F%3E%23!%20%2Fbin%2Fsh%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%0A%3CP%3EmakeAbsolute()%20%7B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20case%20%241%20in%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2F*)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%23%20already%20absolute%2C%20return%20it%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20echo%20%22%241%22%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3B%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20*)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%23%20relative%2C%20prepend%20%242%20made%20absolute%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20echo%20%60makeAbsolute%20%22%242%22%20%22%24PWD%22%60%2F%22%241%22%20%7C%20sed%20's%2C%2F%5C.%24%2C%2C'%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3B%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20esac%3CBR%20%2F%3E%7D%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%0A%3CP%3E....%3C%2FP%3E%0A%0A%0A%0A%0A%0A%3C%2FBLOCKQUOTE%3E%3CP%3ETo%20do%20it%20before%20%22%23!%20%2Fbin%2Fsh%22%20is%20IMPORTANT!!!!%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EIn%20QtCreator%20i%20set%3C%2FP%3E%3CBLOCKQUOTE%3E%0A%3CP%3ECompiler%20as%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2Fopt%2Fpoky%2F1.4.1%2Fsysroots%2Fx86_64-pokysdk-linux%2Fusr%2Fbin%2Farmv7a-vfp-neon-poky-linux-gnueabi%2Farm-poky-linux-gnueabi-g%2B%2B%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%0A%3CP%3EQt%20version%20as%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2Fopt%2Fpoky%2F1.4.1%2Fsysroots%2Fx86_64-pokysdk-linux%2Fusr%2Fbin%2Fqmake%3C%2FP%3E%0A%3CP%3Esysroot%20as%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2Fopt%2Fpoky%2F1.4.1%2Fsysroots%2Farmv7a-vfp-neon-poky-linux-gnueabi%3C%2FP%3E%0A%0A%0A%0A%0A%0A%3C%2FBLOCKQUOTE%3E%3CP%3EPut%20them%20in%20a%20Kit%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fskins%2Fimages%2FEBE925D45324E40498AFFA875EAA732B%2Fresponsive_peak%2Fimages%2Fimage_not_found.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EFor%20connection%20to%20Your%20Board%20click%20on%26nbsp%3B%20Device%26nbsp%3B%20---%26gt%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Manage%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EBuild%20a%20new%20project%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3Eand%20add%20some%20to%20the%20.pro%20file%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fskins%2Fimages%2FEBE925D45324E40498AFFA875EAA732B%2Fresponsive_peak%2Fimages%2Fimage_not_found.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CH3%20id%3D%22toc-hId-1081669779%22%20id%3D%22toc-hId-1999591894%22%3EBuilding%20the%20image%20for%20Your%20Board%3A%3C%2FH3%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3Eadd%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CBLOCKQUOTE%3E%0A%3CP%3EEXTRA_IMAGE_FEATURES%20%3D%20%22debug-tweaks%20ssh-server-openssh%22%20to%20Your%20localconfig%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%0A%3CP%3Ebitbake%20core-image-sato-sdk%3C%2FP%3E%0A%0A%0A%0A%3C%2FBLOCKQUOTE%3E%3CP%3E%3C%2FP%3E%3CP%3Eset%20a%20password%20to%20root%26nbsp%3B%20via%3C%2FP%3E%3CBLOCKQUOTE%3E%0A%3CP%3Essh%20root%40%5Bboardip%5D%3C%2FP%3E%0A%3CP%3Epasswd%3C%2FP%3E%0A%0A%0A%0A%3C%2FBLOCKQUOTE%3E%3CP%3E%3C%2FP%3E%3CP%3Etest%20connection%20via%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CBLOCKQUOTE%3E%0A%3CP%3Esftp%26nbsp%3B%20root%40%5Bboardip%5D%3C%2FP%3E%0A%0A%0A%0A%3C%2FBLOCKQUOTE%3E%3CP%3E%3C%2FP%3E%3CP%3Estart%20qtcreator%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CBLOCKQUOTE%3E%0A%3CP%3E.%2Fqtcreator.sh%3C%2FP%3E%0A%0A%0A%0A%3C%2FBLOCKQUOTE%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EMessage%20was%20edited%20by%3A%20Joerg%20Boge%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EGood%20Video%20to%20get%20more%20Information%20about%20Programming%20are%20this%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DyXTJC-_rlMY%26amp%3Bfeature%3Dc4-overview-vl%26amp%3Blist%3DPLF4A1A7E09E5E260A%22%20title%3D%22http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DyXTJC-_rlMY%26amp%3Bfeature%3Dc4-overview-vl%26amp%3Blist%3DPLF4A1A7E09E5E260A%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EBeaglebone%3A%20LCD%20Touchscreen%20GUI%20Applications%20for%20Embedded%20Linux%20-%20YouTube%3C%2FA%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DkP7uvOu9hoQ%26amp%3Bfeature%3Dc4-overview-vl%26amp%3Blist%3DPLF4A1A7E09E5E260A%22%20title%3D%22http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DkP7uvOu9hoQ%26amp%3Bfeature%3Dc4-overview-vl%26amp%3Blist%3DPLF4A1A7E09E5E260A%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EBeaglebone%3A%20Qt%20Creator%20for%20C%2B%2B%20ARM%20Embedded%20Linux%20Development%20-%20YouTube%3C%2FA%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DyNvOyY9zK1o%26amp%3Bfeature%3Dc4-overview-vl%26amp%3Blist%3DPLF4A1A7E09E5E260A%22%20title%3D%22http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DyNvOyY9zK1o%26amp%3Bfeature%3Dc4-overview-vl%26amp%3Blist%3DPLF4A1A7E09E5E260A%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EBeaglebone%3A%20Example%20Qt%20Embedded%20Linux%20Application%20-%20YouTube%3C%2FA%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EIt%20is%20for%20Beagelbone%20but%20for%20programming%20Qt%20it%20is%20a%20good%20start.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EDieses%20Dokument%20wurde%20aus%20folgender%20Diskussion%20erzeugt%3A%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fthread%2F309578%22%20target%3D%22_blank%22%3ESetup%20QT%20Creator%20with%20Yocto%20Build%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1104144%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Setup%20QT%20Creator%20with%20Yocto%20Build%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1104144%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWhen%20I%20run%20%22%3CSPAN%20style%3D%22color%3A%20%233d3d3d%3B%20font-family%3A%20'Helvetica%20Neue'%2C%20Helvetica%2C%20Arial%2C%20'Lucida%20Grande'%2C%20sans-serif%3B%22%3Ebitbaked%20meta-toolchain-qt%22%2C%20I%20meet%20a%20problem.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%233d3d3d%3B%20font-family%3A%20'Helvetica%20Neue'%2C%20Helvetica%2C%20Arial%2C%20'Lucida%20Grande'%2C%20sans-serif%3B%22%3EMissing%20or%20unbuildable%20dependency%20chain%20was%20%5B%22meta-toolchain-qt%22%2C%22packagegroup-qt-toolchain-target%22%2C%22qt4-mkspecs%22%2C%22virtual%2Flibx11%22%5D%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%233d3d3d%3B%20font-family%3A%20'Helvetica%20Neue'%2C%20Helvetica%2C%20Arial%2C%20'Lucida%20Grande'%2C%20sans-serif%3B%22%3EWhy%20it%20is%3F%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1104143%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Setup%20QT%20Creator%20with%20Yocto%20Build%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1104143%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20following%20all%20the%20steps%20mentioned%20above%2C%20however%20after%20I%26nbsp%3B%20boot%20the%20Nitrogen%206x%26nbsp%3B%20board%2C%20I%20am%20unable%20to%20connect%20through%20sftp.%3C%2FP%3E%3CP%3EIt%20has%20the%20following%20error%2C%20can%20someone%20please%20help%20me%20out%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3Esftp%20root%40192.168.2.26%3C%2FP%3E%3CP%3Eroot%40192.168.2.26's%20password%3A%20%3C%2FP%3E%3CP%3Esh%3A%20%2Fusr%2Flib%2Fopenssh%2Fsftp-server%3A%20No%20such%20file%20or%20directory%3C%2FP%3E%3CP%3EConnection%20closed%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1104142%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Setup%20QT%20Creator%20with%20Yocto%20Build%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1104142%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ESo%20with%20this%20setup%20you%20were%20able%20use%20QWS%20without%20X11%3F%20Because%20I%20also%20tried%20successfully%20the%20fsl-image-gui.%20But%20then%20it%20uses%20X11%20instead%20of%20directfb%20for%20rendering%20the%20Qt-Application.%3C%2FP%3E%3CP%3EFor%20performance%20and%20faster%20boot%20I%20wanted%20to%20get%20rid%20of%20X11.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EAnd%20what%20I%20thought%20is%2C%20that%20I%20have%20to%20use%20the%20meta-toolchain-%3CSTRONG%3Eqte%3C%2FSTRONG%3E%20instead%20of%20meta-toolchain-%3CSTRONG%3Eqt%3C%2FSTRONG%3E%20to%20compile%20my%20Qt-App%20the%20right%20way%20-%20if%20that%20is%20the%20case%20we%20should%20mention%20it%20in%20this%20DOC.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1104141%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Setup%20QT%20Creator%20with%20Yocto%20Build%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1104141%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20Florin%2C%3C%2FP%3E%3CP%3EYou%20should%20give%20it%20a%20try.%20I%20build%20fsl-image-gui%20with%20that%20local.conf%20features%3A%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CBLOCKQUOTE%3E%0A%3CP%3EMACHINE%20%3F%3F%3D%20'YOURBAORD'%3C%2FP%3E%0A%3CP%3EDISTRO%20%3F%3D%20'poky'%3C%2FP%3E%0A%3CP%3EPACKAGE_CLASSES%20%3F%3D%20%22package_rpm%22%3C%2FP%3E%0A%3CP%3EEXTRA_IMAGE_FEATURES%20%3D%20%22debug-tweaks%20ssh-server-openssh%22%3C%2FP%3E%0A%3CP%3ECORE_IMAGE_EXTRA_INSTALL_append%20%3D%20%22openssh-sftp-server%20%22%3C%2FP%3E%0A%3CP%3ETOOLCHAIN_HOST_TASK_append%20%3D%20%22%20nativesdk-python-subprocess%22%26nbsp%3B%20%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%3CP%3Eworks%20fine.%20debugging%20i%20did'nt%20test%20till%20now%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1104140%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Setup%20QT%20Creator%20with%20Yocto%20Build%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1104140%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EMe%20again%20%3CIMG%20id%3D%22smileywink%22%20class%3D%22emoticon%20emoticon-smileywink%22%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fi%2Fsmilies%2F16x16_smiley-wink.png%22%20alt%3D%22Smiley%20Wink%22%20title%3D%22Smiley%20Wink%22%20%2F%3E%3C%2FP%3E%3CP%3EMaybe%20we%20should%20also%20mention%20to%20use%20bitbaked%20meta-toolchain-qte%20to%20use%20e.g.%20the%20%3CA%20href%3D%22http%3A%2F%2Fqt-project.org%2Fdoc%2Fqt-4.8%2Fembeddedlinux-support.html%23compact-and-efficient-windowing-system-qws%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EQWS%3C%2FA%3E%20Qt%20Window%20Server%20without%20the%20need%20for%20X11.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EWhat%20do%20you%20think%3F%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EBest%20regards%3C%2FP%3E%3CP%3EFlorian%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1104139%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Setup%20QT%20Creator%20with%20Yocto%20Build%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1104139%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20there!%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EStarting%20the%20.%2Fqtcreator.sh%20from%20the%20Terminal%20works%20fine%20for%20me%20but%20isn't%20very%20convenient%20I%20think.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EWhy%20isn't%20it%20possible%20to%20set%20all%20the%20env-Variables%20directly%20in%20the%20build%20settings%20of%20Qt%20Creator%3F%3C%2FP%3E%3CP%3ESetting%20the%20environment%20variables%20(which%20is%20everyhing%20what%20the%20environment-setup-...%20does%20at%20the%20moment)%20directly%20in%20Qt%20Creator%20(Projects-%26gt%3BBuild%20Settings-%26gt%3BBuild%20Environment)%20doesn't%20work%20-%20does%20anyone%20know%20why%3F%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EThe%20other%20way%20around%20for%20me%20would%20be%20to%20create%20a%20.desktop%20for%20a%20quick%20execution%20of%20the%20.sh%20from%20the%20Desktop%2FStarter%20Menu.%3C%2FP%3E%3CP%3EBut%20there%20is%20another%20problem%20with%20creating%20a%20.desktop%20file%20on%20Ubuntu%3A%20It%20doesn't%20find%20the%20environment-setup-...%20(1%3A%20%2Fmypath%2Fqtcreator.sh%3A%20source%3A%20not%20found)%20on%20starting%20with%20the%20.desktop-file%20-%20is%20there%20something%20wrong%3F%20As%20already%20set%3A%20Executing%20it%20directly%20from%20the%20terminal%20works%20flawlessly.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3Eqtcreator.desktop%20(in%20same%20directory%20as%20qtcreator.sh)%3C%2FP%3E%3CBLOCKQUOTE%3E%0A%3CP%3E%5BDesktop%20Entry%5D%3C%2FP%3E%0A%3CP%3EVersion%3D2.8.1%3C%2FP%3E%0A%3CP%3EName%3DQt%20Creator%3C%2FP%3E%0A%3CP%3EExec%3D%2Fmypath%2Fqtcreator.sh%3C%2FP%3E%0A%3CP%3EIcon%3DQtProject-qtcreator%3C%2FP%3E%0A%3CP%3ETerminal%3Dtrue%3C%2FP%3E%0A%3CP%3EType%3DApplication%3C%2FP%3E%0A%3CP%3ECategories%3DDevelopment%3BIDE%3BQt%3B%3C%2FP%3E%0A%3CP%3EMimeType%3Dtext%2Fx-c%2B%2Bsrc%3Btext%2Fx-c%2B%2Bhdr%3Btext%2Fx-xsrc%3Bapplication%2Fx-designer%3Bapplication%2Fvnd.nokia.qt.qmakeprofile%3Bapplication%2Fvnd.nokia.xml.qt.resource%3Btext%2Fx-qml%3B%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%3CP%3E%3C%2FP%3E%3CP%3EAny%20other%20ideas%20in%20improving%20this%20step%20and%20working%20around%20the%20%22problem%22%20of%20starting%20the%20qtcreator%20from%20the%20terminal%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎07-30-2013 07:33 AM
Updated by: