Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved Qtest doesnt work

    General and Desktop
    3
    6
    768
    Loading More Posts
    • 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
      Jeronimo last edited by

      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 Reply Quote 0
      • ?
        A Former User last edited by A Former User

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

        J 1 Reply Last reply Reply Quote 1
        • J
          Jeronimo @Guest last edited by

          @Wieland i tried too

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User last edited by

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

            J 1 Reply Last reply Reply Quote 1
            • J
              Jeronimo @Guest last edited by

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

              jsulm 1 Reply Last reply Reply Quote 0
              • jsulm
                jsulm Lifetime Qt Champion @Jeronimo last edited by

                @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 Reply Quote 1
                • First post
                  Last post