Qt App execution
Can someone please suggest a way how to execute Qt application in Linux environment without using -qws. The back end application will invoke first and the GUI app would come at last.
THANKS IN ADVANCE:):)
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.
yes Gerolf...i am using it on embedded machines.
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);@
Can i able to rotate the entire screen display to 180 degrees inverted. Does QTranformedScreen work?
I have a basic doubt in Qt. I am using QDeclarativeView in my app.How the process remains alive in QApplication? As if in C we use simple while(1) loop to make the process running. Where this is handled?
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.
Here what i am trying to do is to increment a variable continuously but i am unable to do that as after exec() call the process returns success or fail.
Where can i find a continuous loop in Qt app. Can u please provide me an example?
How can we give "-display Transformed:Rot180" command in the code itself that avoids executing the app along with the command?
Thanks in advance:)