Qt installation (with vs10)
-
Unfortunately, developing and running software on Windows is sometimes quite complicated. Just google for DLL hell and manifest fiasco :-/
For the dependency walker:
- Put it into the same directory where your exe is
- start depends.exe
- from the file menu choose open and select your exe
There is a tree on the left side that shows you all of the DLLs that the exe needs, if you expand the entries further you can see what DLLs are needed by the DLLs themselves etc. Missing DLLs are marked and listed in the bottom lists too.
-
I have posted right before you, you probably didn't notice.
By the way, I'm not sure of these results, because when I open 'depends.exe' itself (with dependency walker) it also says that WER.DLL IESHIMS.DLL and EFSADU.DLL are missing, but this one executable works properly... -
bq. MSVCP90D.DLL
MSVCR90D.DLLIt seems that you have installed the Qt version for Visual Studio 2008. Visual Studio 2010 should need MSVCP100D.DLL and MSVCR100.DLL.
Missing IESHIMS.DLL and WER.DLL is not critical. They are not found on my system too.
I don't know about EFSADU.DLL. -
oh. And how do I do that ? (is there a site that explains it in detail, or could you, please?)
Is there any chance you could also tell me why this is needed ? I mean, what changes between VS2010 and 2008 that requires this ? My hardware is still the same, so why shouldn't it work?
-
You can download the sources from "ftp://ftp.trolltech.com/qt/source/qt-everywhere-opensource-src-4.7.0.zip":ftp://ftp.trolltech.com/qt/source/qt-everywhere-opensource-src-4.7.0.zip
For the compilation and installation follow the instructions "here":http://qt.nokia.com/doc/4.7/install-win.html
For the reason why there is no prebuilt version for VS 2010: I think VS2010 is just too new. Supporting a new compiler always takes some time (setting up things, testing, and so on).
The DLLs of the two VS versions are just not compatible. It would go beyond the scope of this post to explain why, Aunt Google will tell you more ;-)
-
ok, so I downloaded the .zip and unzipped it in C:\Qt\4.7.0.
I added this path to the path environment variable.
In my situation, do I need to add other things to 'path' ? ("You may also need to ensure that the locations of your compiler and other build tools are listed in the PATH variable. This will depend on your choice of software development environment.")
I don't understand the note below this statement either.Then I opened a visual studio command prompt. 'configure' doesn't work there.
Should I write nmake right away?Thanks.
-
Normally, configure.exe (with some switches, if needed) works just fine. Did you call it via
@.\configure.exe@
or
@.\configure@There is a configure (without .exe) which happens to be a unix shell script, and that does not work on windows, of course :-)
Calling nmake without running configure.exe before will not work, as there are no makefiles to use.
-
Hello again,
I've tried everything I could think of, including
configure
configure.exe
.\configure
.\configure.exe
configuration.exe
configuration
after or before the 'cd', none of it works.
So do I need to add something else to 'path' ?
Do I have to do something related to this note : "Note: If you don't use the configured shells, which is available in the application menu, in the Open Source Versions of Qt, configure requires that sh.exe is not in the path or that it is run from msys. This also goes for mingw32-make." ?Thanks
-
No, there's nothing.
it says 'configure.exe' is not recognized as an internal or external command, an executable program or a file of commands.
I have to type this in the visual studio command prompt, right?
(if I type this in cmd.exe, it gives the same result). -
okay, I've made a search in my computer and it is in
C:\Qt\4.7.0\qt-everywhere-opensource-src-4.7.0
not in
C:\Qt\4.7.0
sorry. I thought it was a Microsoft windows command or something, so I didn't try to find the executable before.So what do I need to do now exactly?
You haven't answered me regarding the path variables and the note, both of which are mentionned in the website you gave me. -
I don't know for the note. If you don't have MinGW or a bash or such installed, you probably don't need to take care of it.
I never set a PATH variable when I compiled on Windows. Just start the Visual Studio Command prompt and enter:
@
cd C:\Qt\4.7.0\qt-everywhere-opensource-src-4.7.0
.\configure.exe
nmake
@And then have a cup of coffee or better go for lunch or dinner - it takes a looooong time until everything is compiled :-)
-
Hello,
so I typed it and here is the result :
@
C:\Qt\4.7.0\qt-everywhere-opensource-src-4.7.0>configure.exe
Unable to detect the platform from environment. Use -platform command lineargument or set the QMAKES
PEC environment variable and run configure again
See the README file for a list of supported operating systems and compilers.
Usage: (<<followed by hundreds of lines explaining its complicated usage>>)C:\Qt\4.7.0\qt-everywhere-opensource-src-4.7.0>@
The default options seem to have failed ("Unable to detect the platform") and the usage of this executable seems quite complicated, so maybe you can help me once more :)