Can I import a COM .dll object in Qt?
I was wondering if it is possible to import a COM object (.dll, only binary available) using Qt? I am aware that it is possible using MSVS 200x after compiling qt for MSVC but I’m very comfortable with QtCreator. I thought I’d ask before going through with the hastle of compiling Qt and changing to a new IDE. I’m trying to import Skype4COM by the way in case anyone has already tried this.
thanks for the tip. Just saw that there are vc precompiled binaries for windows. For some reason those don’t seem to work for me. I changed the toolchain in creator, but my SW would not run. Got an error of the sort “cant’t start the process”. Any idea what I’m missing. I’ll try to recompile qt with msvs express in the meantime.
For anyones interest,
I did not have to rebuild Qt for vc. I used the Qt vc++2008 binaries from Qt’s download page and got it to work. I had to change the project build preferences to use nmake (use your vc compiler toolchain) for build process after qmake instead of jom. I had missed that initially.
@tobias: thx for your support!
Jom, is yet another make variant. It reads Makefiles and executes the stuff in there — just like nmake, too. It is in no way mingw specific (only if the Makefiles are;-).
Jom supports -j X to run (up to) X jobs in parallel, which is great for multicore systems. nmake does not seem able to do this.
PS: I am using jom with msvc, so I am sure it does work. Maybe you need to rerun qmake to regenerate the makefiles for MSVC?