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. From 5.2.1 to 5.3

From 5.2.1 to 5.3

Scheduled Pinned Locked Moved General and Desktop
10 Posts 4 Posters 3.3k 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.
  • mrdebugM Offline
    mrdebugM Offline
    mrdebug
    wrote on last edited by
    #1

    In a Debian machine without desktop environment, where a Qt 5.2 program worked, now I obtain the message QT_MESSAGE_PATTERN: Unknow placeholder.
    Do you know what it means?

    Need programmers to hire?
    www.labcsp.com
    www.denisgottardello.it
    GMT+1
    Skype: mrdebug

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcosta
      wrote on last edited by
      #2

      QT_MESSAGE_PATTERN defines how logging functions (qDebug(), and family) print out information.

      It's an evironment variable, read "here":http://qt-project.org/doc/qt-5/debug.html#environment-variables-recognized-by-qt to learn about it

      Once your problem is solved don't forget to:

      • Mark the thread as SOLVED using the Topic Tool menu
      • Vote up the answer(s) that helped you to solve the issue

      You can embed images using (http://imgur.com/) or (http://postimage.org/)

      1 Reply Last reply
      0
      • mrdebugM Offline
        mrdebugM Offline
        mrdebug
        wrote on last edited by
        #3

        I have readed without finding the solution.
        What I have to do exactly?
        Why Qt 5.2.1 worked correctly?

        Need programmers to hire?
        www.labcsp.com
        www.denisgottardello.it
        GMT+1
        Skype: mrdebug

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mcosta
          wrote on last edited by
          #4

          Try to check the value of the QT_MESSAGE_PATTERN environment variable

          Once your problem is solved don't forget to:

          • Mark the thread as SOLVED using the Topic Tool menu
          • Vote up the answer(s) that helped you to solve the issue

          You can embed images using (http://imgur.com/) or (http://postimage.org/)

          1 Reply Last reply
          0
          • mrdebugM Offline
            mrdebugM Offline
            mrdebug
            wrote on last edited by
            #5

            In my pc the QT_MESSAGE_PATTERN environment variable is not defined but the programs work correctly. In the other machines The programs, compiled with Qt 5.2.1 worked well.
            I think is a problem related to Qt 5.3, some dependencies missed or similar.
            I have set the variable in more different modes without to resolve.
            Now I think to downgrade to Qt 5.2.1

            Need programmers to hire?
            www.labcsp.com
            www.denisgottardello.it
            GMT+1
            Skype: mrdebug

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

              Hi,

              Can you reproduce that with a dummy program ?

              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
              0
              • mrdebugM Offline
                mrdebugM Offline
                mrdebug
                wrote on last edited by
                #7

                It's very easy. Every program without GUI works but not with GUI.
                I have installed qtcreator. Qtcreator works (I see the GUI).
                Now I'm bringing up a virtual machine for other tests.

                Need programmers to hire?
                www.labcsp.com
                www.denisgottardello.it
                GMT+1
                Skype: mrdebug

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mcosta
                  wrote on last edited by
                  #8

                  Are you used installer or compiled QT from sources?
                  I'm using 5.3 under Windows (at the moment I don't have a Linux Machine upgradable to 5.3) and all works well.

                  EDIT

                  I just tried with a Kubuntu.
                  I created a new Project using Qt 5.3 and I had no problem

                  Once your problem is solved don't forget to:

                  • Mark the thread as SOLVED using the Topic Tool menu
                  • Vote up the answer(s) that helped you to solve the issue

                  You can embed images using (http://imgur.com/) or (http://postimage.org/)

                  1 Reply Last reply
                  0
                  • C Offline
                    C Offline
                    clochydd
                    wrote on last edited by
                    #9

                    I can confirm mcosta's statement:

                    I've just updated to 5.3 from 5.2.1 on Kubuntu 14.04 using "this: ":http://download.qt-project.org/official_releases/qt/5.3/5.3.0/qt-opensource-linux-x64-5.3.0.run, tested most of my projects and had not a single problem.

                    1 Reply Last reply
                    0
                    • mrdebugM Offline
                      mrdebugM Offline
                      mrdebug
                      wrote on last edited by
                      #10

                      Very strange. In a virtual machine all works well. I'll format the machine.

                      Need programmers to hire?
                      www.labcsp.com
                      www.denisgottardello.it
                      GMT+1
                      Skype: mrdebug

                      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