* Yocto Qt!
@ 2013-03-25 7:53 Florin Cristian Dan
2013-03-25 9:00 ` Burton, Ross
0 siblings, 1 reply; 10+ messages in thread
From: Florin Cristian Dan @ 2013-03-25 7:53 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 654 bytes --]
Hi,
This is my fifth mail i think and no one still responded me, i'm trying to
start developing apps, using Qt and add Qt support to Yocto.
I've built a image for my Intel Atom based target machine, and added
IMAGE_FEATURES
+= "qt4-pkgs" to local.conf file. It burned succesfuly the image
booted on my target machine and the i've pluged in a usb with a simple qt
app wich would displayed a window and tried to do this:
1. cd to a /usr/bin/qtopia/demos/mainwindow (for example)
2. (qmake -project)
3. qmake -o Makefile mainwindow.pro
3. (uic ui files)
4. make
But no succes.
Please can someone show me te correct path to do this?
[-- Attachment #2: Type: text/html, Size: 1827 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Yocto Qt!
2013-03-25 7:53 Florin Cristian Dan
@ 2013-03-25 9:00 ` Burton, Ross
[not found] ` <515015CE.1020006@gmail.com>
0 siblings, 1 reply; 10+ messages in thread
From: Burton, Ross @ 2013-03-25 9:00 UTC (permalink / raw)
To: Florin Cristian Dan; +Cc: yocto
On 25 March 2013 07:53, Florin Cristian Dan
<dan.florincristian@gmail.com> wrote:
> But no succes.
>
> Please can someone show me te correct path to do this?
Instead of just saying "it doesn't work", please say what errors you
get, what doesn't work, and so on. It's impossible for people reading
this mail to know exactly what's happening.
Ross
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Yocto Qt!
[not found] ` <515015CE.1020006@gmail.com>
@ 2013-03-25 9:31 ` Burton, Ross
2013-03-25 9:35 ` Florin Cristian Dan
1 sibling, 0 replies; 10+ messages in thread
From: Burton, Ross @ 2013-03-25 9:31 UTC (permalink / raw)
To: Cristi Dan; +Cc: yocto
Please don't reply directly to the sender but ensure that the list is
included in all replies.
On 25 March 2013 09:15, Cristi Dan <dan.florincristian@gmail.com> wrote:
> When i try
>
> (qmake -project)
> says that "qmake: command not found"
> the same thing with make
> It's there any chance that the Qt isn't added corectly to my image?
> Thank you
The "qt4-pkgs" image feature only adds the libraries and demo
applications. You'll want to add "tools-sdk" to get a compiler, make,
and so on; and also "dev-pkgs" should add all relevant headers. Then
you'll want qmake, so add this to your local.conf to add the tools:
CORE_IMAGE_EXTRA_INSTALL += "qt4-tools"
Ross
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Yocto Qt!
[not found] ` <515015CE.1020006@gmail.com>
2013-03-25 9:31 ` Burton, Ross
@ 2013-03-25 9:35 ` Florin Cristian Dan
1 sibling, 0 replies; 10+ messages in thread
From: Florin Cristian Dan @ 2013-03-25 9:35 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 346 bytes --]
---------- Forwarded message ----------
From: Cristi Dan <dan.florincristian@gmail.com>
Date: 2013/3/25
Subject: Re: [yocto] Yocto Qt!
To: ross.burton@intel.com
When i try
(qmake -project)
says that "qmake: command not found"
the same thing with make
It's there any chance that the Qt isn't added corectly to my image?
Thank you
[-- Attachment #2: Type: text/html, Size: 613 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Yocto Qt!
@ 2013-03-25 9:43 Florin Cristian Dan
0 siblings, 0 replies; 10+ messages in thread
From: Florin Cristian Dan @ 2013-03-25 9:43 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 87 bytes --]
Thank you very much Ross, i will try this and i will post the result
Have a nice day
[-- Attachment #2: Type: text/html, Size: 96 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Yocto Qt!
@ 2013-03-26 6:33 Florin Cristian Dan
2013-03-26 9:02 ` Eric Bénard
0 siblings, 1 reply; 10+ messages in thread
From: Florin Cristian Dan @ 2013-03-26 6:33 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 738 bytes --]
Hi...
I've tried adding this
CORE_IMAGE_EXTRA_INSTALL += "qt4-tools"
in order to have the qt4 tools, and now, i made a simple qt4 form
aplication with a label ana a test box, nothing special, just for
test...i first tried to compile the program on my target machine
when i enterd qmake "project" i get this : "QMAKESPEC has not been se.
so configuration cannot be deduced.Error processint file..."
Then i tried to compile the program on my PC, i succeded doing that,
and then copied all the folder to a USB and tried to run the
executable on my target, and got this "./project: error thile loading
shared librarie: libQt5Widgets.so.5: cannot open shared object file:
No such file or directory.
What am I missing?
[-- Attachment #2: Type: text/html, Size: 1930 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Yocto Qt!
2013-03-26 6:33 Yocto Qt! Florin Cristian Dan
@ 2013-03-26 9:02 ` Eric Bénard
0 siblings, 0 replies; 10+ messages in thread
From: Eric Bénard @ 2013-03-26 9:02 UTC (permalink / raw)
To: Florin Cristian Dan; +Cc: yocto
Hi,
Le Tue, 26 Mar 2013 08:33:43 +0200,
Florin Cristian Dan <dan.florincristian@gmail.com> a écrit :
> Hi...
> I've tried adding this
>
> CORE_IMAGE_EXTRA_INSTALL += "qt4-tools"
>
> in order to have the qt4 tools, and now, i made a simple qt4 form
> aplication with a label ana a test box, nothing special, just for
> test...i first tried to compile the program on my target machine
>
> when i enterd qmake "project" i get this : "QMAKESPEC has not been se.
> so configuration cannot be deduced.Error processint file..."
>
> Then i tried to compile the program on my PC, i succeded doing that,
> and then copied all the folder to a USB and tried to run the
> executable on my target, and got this "./project: error thile loading
> shared librarie: libQt5Widgets.so.5: cannot open shared object file:
> No such file or directory.
>
> What am I missing?
your PC's SDK seems to use Qt5, Yocto is using Qt4.
Eric
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Yocto Qt!
@ 2013-03-26 11:34 Florin Cristian Dan
0 siblings, 0 replies; 10+ messages in thread
From: Florin Cristian Dan @ 2013-03-26 11:34 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 93 bytes --]
Can you please tell me where can i download Qt4SDK? I've searched it but i
did not find it
[-- Attachment #2: Type: text/html, Size: 96 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Yocto Qt!
@ 2013-03-26 12:08 Florin Cristian Dan
0 siblings, 0 replies; 10+ messages in thread
From: Florin Cristian Dan @ 2013-03-26 12:08 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 562 bytes --]
ok, so i've uninstalled all the programs ralated to qt4 and qt5, i wanted
to start a fresh install of qt4 SDK, i've found QtSDK v 1.2.1 wich i think
is Qt4 related, I downloaded it from nokia website, installed it, and
creted a simple hello world window...it build and ran succesfuly. But when
i go in the program directori and try to do qmake "project"...it said that
"qmake is not instaled use apt-get install qt4-qmake"...did that, installed
qmake, and tried again to run qmake "project" and nou says: "qmake:could
not find a Qt installation of ' ' "
[-- Attachment #2: Type: text/html, Size: 625 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Yocto Qt!
@ 2013-03-26 13:34 Florin Cristian Dan
0 siblings, 0 replies; 10+ messages in thread
From: Florin Cristian Dan @ 2013-03-26 13:34 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 427 bytes --]
i've managed to solve the qmake problem i did this:
sudo rm /usr/bin/qmake sudo ln -s /usr/bin/qmake-qt4 /usr/bin/qmake
After that: qmake -o Makefile myproject.pro
make
It made me an executable, then i've copied the whole project folder on a
USB stick, mount it on my target and then ran ./myproject...and voila...a
simple window appeared with the clasis "Hello Wolrd!" inside
Thanks a lot for support
[-- Attachment #2: Type: text/html, Size: 701 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2013-03-26 13:34 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-26 6:33 Yocto Qt! Florin Cristian Dan
2013-03-26 9:02 ` Eric Bénard
-- strict thread matches above, loose matches on Subject: below --
2013-03-26 13:34 Florin Cristian Dan
2013-03-26 12:08 Florin Cristian Dan
2013-03-26 11:34 Florin Cristian Dan
2013-03-25 9:43 Florin Cristian Dan
2013-03-25 7:53 Florin Cristian Dan
2013-03-25 9:00 ` Burton, Ross
[not found] ` <515015CE.1020006@gmail.com>
2013-03-25 9:31 ` Burton, Ross
2013-03-25 9:35 ` Florin Cristian Dan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.