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. Qtest doesnt work
QtWS25 Last Chance

Qtest doesnt work

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 3 Posters 1.1k Views
  • 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.
  • J Offline
    J Offline
    Jeronimo
    wrote on last edited by
    #1

    Hi i added this two libraries:
    #include <QtTest> try to #include <QtTest/QTest>
    QT+=testlib in project
    Not seems to work so. A not lot of time was working it's very strange.

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by A Former User
      #2

      Hi! Try #include <QTest>. If it still doesn't work, clean the project and re-run qmake.

      J 1 Reply Last reply
      1
      • ? A Former User

        Hi! Try #include <QTest>. If it still doesn't work, clean the project and re-run qmake.

        J Offline
        J Offline
        Jeronimo
        wrote on last edited by
        #3

        @Wieland i tried too

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          You said it doesn't work. What exactly doesn't work?

          J 1 Reply Last reply
          1
          • ? A Former User

            You said it doesn't work. What exactly doesn't work?

            J Offline
            J Offline
            Jeronimo
            wrote on last edited by
            #5

            @Wieland doesnt appear me the console for test my app like to see messages and etc

            jsulmJ 1 Reply Last reply
            0
            • J Jeronimo

              @Wieland doesnt appear me the console for test my app like to see messages and etc

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @Jeronimo You should really explain better what the problem is.
              Your application builds, right? Does it start? If it starts is there anything in "Application Output" (I assume you're using QtCreator)?

              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