Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to execute Qt main application with Qt Test Application.
Forum Updated to NodeBB v4.3 + New Features

How to execute Qt main application with Qt Test Application.

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 3 Posters 577 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.
  • S Offline
    S Offline
    shravan_121
    wrote on last edited by
    #1

    I have the Qt project application and the Qt Test application under a sub directory. I am unable to execute the main application to test the button click functionality.Can someone help me resolve this.

    aha_1980A 1 Reply Last reply
    0
    • S shravan_121

      I have the Qt project application and the Qt Test application under a sub directory. I am unable to execute the main application to test the button click functionality.Can someone help me resolve this.

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @shravan_121

      you need to select the correct app first, see (2) in the following pic:

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      1
      • S Offline
        S Offline
        shravan_121
        wrote on last edited by
        #3

        @aha_1980 I need to run main app with the test app synchronized with each other. Both the app should run simultaneously.And thanks for the reply

        1 Reply Last reply
        0
        • S Offline
          S Offline
          shravan_121
          wrote on last edited by
          #4

          I need to run main app with the test app synchronized with each other. Both the app should run simultaneously.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi,

            Can you explain your use case ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            S 1 Reply Last reply
            1
            • S Offline
              S Offline
              shravan_121
              wrote on last edited by
              #6

              I am developing sample test cases for calculator app in which the buttons of the calculator should be clicked automatically by Qt Test app and the result is displayed in the calculator app.
              For Example:
              button(operand) +button(operator)+button(operand)=Display(output).

              1 Reply Last reply
              0
              • SGaistS SGaist

                Hi,

                Can you explain your use case ?

                S Offline
                S Offline
                shravan_121
                wrote on last edited by
                #7

                @SGaist
                I am developing sample test cases for calculator app in which the buttons of the calculator should be clicked automatically by Qt Test app and the result is displayed in the calculator app.
                For Example:
                button(operand) +button(operator)+button(operand)=Display(output).

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  In that case, you should test the widget itself. Your application's main is likely just creating an instance of it and showing it.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  1

                  • Login

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