PDA

View Full Version : Help with Detach_grow in QT 4.8.3?



ivoryowl
6th November 2012, 18:24
Hello,

I have some code that was developed previously using QT Version 4.5.2. I can run the executible that was compiled previously, and I am even able to recompile the files on my machine, but I am unable to run the newly compiled executible file. I think this may be related to the fact that I am now using QT version 4.8.3. Do you have any suggestions to make this work? I have been trying to download a 4.5.2 version of QT but all I found is the opensource version 4.5.3, and this does not seem to be complete (there is no qmake.exe file).

Some more information:

The error that I get when I try to run the new executible is relat: The procedure entry point ?detach_grow@QListData!!QAEPAUData@1@PAHH@Z could not be locatedin the dynamic link library QtCore4.dll I used Dependency Walker on both the working old executible, and my compiled by not working executible, and the older file doesnt even run this function, instead runs something calleded detach2.... which is why I think it may be related to the two different versions. Also, I checked and the .dll file from the error message that causes the problems (QtCore4.dll) is being used from the same location for both the working-old file and the non-working-new file.

Any suggestions are greatly appreciated!

Thank you!

Santosh Reddy
6th November 2012, 18:58
I hope you are sure that you use 4.8.3 dlls to run the new executable,
Old exe (4.5.2) may run with 4.8.3 dlls, but new exe (4.8.3) will not work with 4.5.2 dlls
Did you try downloading from here ftp://ftp.qt.nokia.com/qt/source/

ivoryowl
6th November 2012, 19:51
Thank you Santosh for the update! You were right, I was using the dlls that were in the folder I was given, which were the older (4.5.2) version. When I included the 4.8.3 version of QtGui4.dll and QtCore4.dll my .exe run. Thank you!!