There's no such class as QNetworkSessionManager. And there's no purely Qt way to set IP. You need to rely on platform specific code or use tools such as for eg. ipconfig on Linux. You can call this using QProcess.
Sorry but the code looks little bit weird. I think you must first rectify them:
No need to open the database twice.
Since you are fetching everything from the same table with same where clauses why unnecessarily complicate the code by firing 4 different queries.
Furthermore it complicates the if and while conditions.
Closing the connection in while loop would be a bad idea as it will close the database and the end of first iteration itself and thus affecting the remaining data if any.
You are welcome. Usually a few iterations are needed before it starts working (usually people have problems with writing correct LIBS statements, and often there are issues with supplying right paths). But in general, you should be on a good azymouth right now.
I have a final setup of Qt-creator as follows.I ran the script in the /opt/poky/1.6.1/ and opened the qt-creator from the concole. with this settings as below i'm trying to cross-compile the sample clock code
I fear the Xubuntu running on your Odroid is not 100% compatible - that seems to be the reason why the messages are similar to a 32/64bit mix.
I do not want to lead you the wrong path so hopefully you'll find a solution as you could already install the Qt 4 versions.
It is possible that OS driver does not support OpenGL 2.0 (I guess)
Check what version of OpenGL is supported by a graphics card.
Also you may try to use different version of Qt for Windows.
Qt for windows comes in two editions OpenGL and ANGLE.
"See the differences between two versions":http://qt-project.org/wiki/Qt-5-on-Windows-ANGLE-and-OpenGL
//here we can create number of rectangles,
//rectangle.width will have the width of first rectangle
//rectangle.height will have the height of first rectangle
//rectangle.x will have the xpos of first rectangle
//rectangle.y will have the ypos of first rectangle
/editing a rectangle after its creation will be automatically updated in the corresponding array,so we need not to be care about that/
//count will have number of rectangles created
import QtQuick 2.0