Greetings all,
In my application I need to allocate memory beyong 4GB memory-address-space.So I need compile my application in 64Bit.
My development environment is QT 32 bit libraries(LGPL),and going to 开发者_运维百科use MinGW64 to compile 64bit build. Since QT doesnt support MinGW64 (only 32bit supported) , can I link 32Bit QT libraries against with my 64Bit application ?
Thanks in advance.
No, you can't. 64-bit process cannot load 32-bit DLL.
@umanga My reply does not answer your question, but it might give you detail on what you actually want to do--building Qt 64-bit libraries using MinGW-w64.
As suggested by MSalters, porting Qt to the 64-bit environment may be simpler. Also, Qt 4.7 is 99.99% compatible with current MinGW-w64. I just tried building Qt 4.7 using MinGW-w64 myself this morning (Webkit is included, but Phonon is not).
You only need to modify one line of Qt source code to get a successful Qt build. The detailed steps are provided in my blog -- "after all, it is Open Source.".
精彩评论