Originally Posted by
cgaal
Are you *really* sure that you've cleaned and rebuilt *all* binaries?
yes
From what you've described here, it looks like somewhere (whether it's your own app/dlls or qwt), you still have a binary that was built against a newer version of Qt than you're loading at runtime.
i agree thats what it looks like, but I can't find it
Note that your unresolved symbol - QLayout::setAlignment (I assume you meant "QLayout" and not "Layout"?)
yes
had a new overload added for Qt 4.3. If you have a binary that was built against Qt 4.4 and uses this overload, this could explain why you're having trouble with loading Qt 4.1.
oops, I made a mistake when I said 4.1. This is all 4.4.1--that's the only thing that is on my machine--its QT4.4.1 VS2005. I have uninstalled all other versions of everything, and rebuilt. I still get the error. Here it is, by the way, as reported by dependency walker
?setAlignment@QLayout@@QAEXV?$QFlags@W4AlignmentFl ag@Qt@@@@@Z
You can use Dependency Walker (depends.exe) on Windows to track down the problem binary. Open your executable in Dependency Walker and profile it. You should see exactly which binary has the missing dependency, and then rebuild that binary.
I did, and it is indeed the one located in the directory C:\qt\4.4.1\bin
its creation and modification dates are Tuesday, July 29, 2008, 10:55:44 AM. It's size is
11.0 MB (11,620,352 bytes)
So, this leads me to believe that perhaps this distribution of QT has a problem in it? I can't believe I'm the only one who has tried this. Any other ideas?
HTH,
-Chris