[Qt-interest] Major issues with QT4 on Windows
Malyushytsky, Alex
alex at wai.com
Sat Apr 4 03:34:50 CEST 2009
Hi everybody,
As a Qt commercial license holder I want to bring some issues which make my life hard enough on Windows. I hope Nokia can change their policy on it, if this is brought to community.
1. QT 4.* can't be linked to static C runtime libraries.
Actually with some efforts it can be built, but will not run, because in very simple case you will get "Heap corruption" dialog message from the QT internals. I can't say it is even the problem in the code itself or such check should never be done if static CRT libraries are used. I think it is the second reason, but the fact is linking to static CRT is not supported (as said by official support).
This leads to the fact, that QT4 can't be build statically. Because the main reason to build it statically is do not have to supply additional modules to user. And you need to provide CRT libraries together with your application.
I personally have another reason to do it, cause I have a 3rd party module (Intel) which I have to link with, and currently can't. Cause this module is a static lib which linked to static CRT. And you can't mix them.
Finally under the Windows, if you build your libraries statically, it is assumed that you build it with static CRT libraries.
I have no idea why QT developers made a choice to drop this practice.
But I could live with restrictions to use some modules, but I have a huge problem not being able to link to static CRT at all.
Could it be fixed? When?
2. Qt binaries for Windows 64 bit.
It was always a question for me why trolltech (starting with Qt3) and later nokia was not providing binaries for 64 bit Windows.
It supposed to be supported and tested on it.
Why not to build it and provide it to the customers?
Having such binaries for download would simplify my life and probably major number of commercial customers who need to build packages for all windows platforms.
As for me pre-packaged solution on Windows is a joke for a few years.
And it will be a joke until 64 bit binaries are provided.
Until then, every time I want to be able to update I download source,
Configure it for 32 bit msvc and leave it building over the night.
Next day I do it for another configuration (64 bit).
Common, if you are trying to buy a laptop these days it will come with 4+ GB and 64 bit Windows by default.
Regards,
Alex Malyushytsky
Research Engineer - Weidlinger Associates Inc.
office: 650 230 0210,
direct: 650 230 0349
web: http://www.wai.com
---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.
"This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you."
"Please consider our environment before printing this email."
More information about the Qt-interest-old
mailing list