PDA

View Full Version : Type conversion already registered problem



Momergil
29th June 2014, 13:59
Hello!

Some time ago, after I reinstalled Qt to a newer version (Qt 5.2.1), I'm receiving this message sometimes when I start one of my programs:



Type conversion already registered from type QPair<QByteArray,QByteArray> to type QtMetaTypePrivate::QPairVariantInterfaceImpl


Does anybody have a clue on what is causing this? I have no type registration in this application and I don't use QPair neither once.

Thanks,

Momergil

d_stranz
29th June 2014, 17:48
My guess is your PC has the wrong set of Qt run-time libraries as the first things found in the path, and that it is loading these instead of the 5.2.1 version.

Momergil
4th July 2014, 02:10
Thanks d_stranz!

Well, here is my PATH (in Qt Creator->Projects):

C:\Qt\Qt5.2.1\5.2.1\mingw48_32\bin;C:\Qt\Qt5.2.1\T ools\mingw48_32\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\Sys tem32\Wbem;C:\Windows\System32\WindowsPowerShell\v 1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\VDownloader;F:\Program Files (x86)\MARTINWARE

while QTDIR is correctly

C:\Qt\Qt5.2.1\5.2.1\mingw48_32

And AFAIK, there is no other version of Qt currently installed on my PC :T