From 5.2.1 to 5.3
-
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? -
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
-
I have readed without finding the solution.
What I have to do exactly?
Why Qt 5.2.1 worked correctly? -
Try to check the value of the QT_MESSAGE_PATTERN environment variable
-
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 -
Hi,
Can you reproduce that with a dummy program ?
-
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. -
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 -
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.
-
Very strange. In a virtual machine all works well. I'll format the machine.