Qt App execution
-
Hi Harry,
I'm a bit confused. WHich environment do you use exactly? You say linux, use embedded parameters and post in a QML forum...
-qws is used on embedded machines, where the Qt windowing system is used.
On Linux (desktop) you would typically use X11.
-
Some more information would be helpful... Which embedded machine? How does it get pictures onto the screen? Do you want to use QML (from Qt4 or Qt5) or Widgets or maybe no UI at all?
-
I am working on Linux platform using TI AM1806 processor. I am able to display some png format images on LCD. I am using Qt 4.7.4 and QtQuick 1.0. The whole UI design is in QML only.
While compiling we need to use ./myapp -qws ....but is there any other way to directly execute like ./myapp without -qws.I also need my UI to be displayed at 180 degrees rotation(inverted). Can some one suggest a method to rotate the display by 180 degrees??
thanks in advance:)
-
To run without "-qws" create QApplication like this:
@QApplication app(argc, argv, QApplication::GuiServer);@
http://doc.trolltech.com/4.7.1/qapplication.html#QApplication-3
-
Qt does basically the same. As soon as you call <code>application->exec()</code> your application enters the event loop, which "keeps spinning":http://qt.gitorious.org/qt/qt/blobs/4.8/src/corelib/kernel/qeventloop.cpp#line175 until explicitly cancelled.
-