Old program
-
To update a label uncomment the following connect in c7 constructor.
@
connect(this, SIGNAL(updateUI(QString)),parent, SLOT(UpdateLabels(QString)));
@You don't need to define void cf7::updateUI(QString text) in cf7.cpp.
Just declare it as a signal, which you already did. -
You should just make a correction: connect your c7 updateUI signal in your MainWindow's constructor rather than in c7's constructor. It will make c7 completely independent of the GUI on top of it.
Also from a pure reading point of view, you should add the missing emit keyword, it will make your code easier to understand
-
What version of Qt are you using ?
-
I meant for your target
-
I am not using anything yet :)
question
For using with X11 I will install * Qt libraries 4.8.5 for Linux/X11 *
and for using directly to framebuffer i will install Qt libraries 4.8.5 for embedded Linux?
How applications behave with static build on linux targets? -
Pretty much it's that yes. Depending on what you will run on your target, you might need to compile Qt yourself.
I don't exactly understand your question about static application behavior
-
The application behavior won't change because of the build type. However you should first check that you can use a static build, there are licenses implication with it.