Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt App execution
Forum Updated to NodeBB v4.3 + New Features

Qt App execution

Scheduled Pinned Locked Moved QML and Qt Quick
11 Posts 5 Posters 4.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    giesbert
    wrote on last edited by
    #2

    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.

    Nokia Certified Qt Specialist.
    Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

    1 Reply Last reply
    0
    • H Offline
      H Offline
      Harry443
      wrote on last edited by
      #3

      yes Gerolf...i am using it on embedded machines.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tobias.hunger
        wrote on last edited by
        #4

        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?

        1 Reply Last reply
        0
        • H Offline
          H Offline
          Harry443
          wrote on last edited by
          #5

          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:)

          1 Reply Last reply
          0
          • G Offline
            G Offline
            Gnitry
            wrote on last edited by
            #6

            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

            1 Reply Last reply
            0
            • H Offline
              H Offline
              Harry443
              wrote on last edited by
              #7

              Thank you...
              Can i able to rotate the entire screen display to 180 degrees inverted. Does QTranformedScreen work?

              1 Reply Last reply
              0
              • H Offline
                H Offline
                Harry443
                wrote on last edited by
                #8

                Hello all,

                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?

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  lgeyer
                  wrote on last edited by
                  #9

                  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.

                  1 Reply Last reply
                  0
                  • H Offline
                    H Offline
                    Harry443
                    wrote on last edited by
                    #10

                    Thanks Lukas,

                    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?

                    1 Reply Last reply
                    0
                    • H Offline
                      H Offline
                      Harry443
                      wrote on last edited by
                      #11

                      Hello all,
                      How can we give "-display Transformed:Rot180" command in the code itself that avoids executing the app along with the command?
                      Thanks in advance:)

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved