[Qt-interest] Major issues with QT4 on Windows
Malyushytsky, Alex
alex at wai.com
Mon Apr 6 10:25:28 CEST 2009
As I said it has problem with MSVC ( to be precise VC 2005, service pack 1, Windows XP 64 ).
I have not tested it with other compilers on Windows.
Problem was reported ( [Issue N243530] Qt4 built with static CRT ).
I did manage to build QT and my application, and it visually worked (no crashing if I abort the heap corruption message, so the problem might be just in message. But you can't deploy application in this state.
I was able to reproduce problems in small example. If anybody wants, I can send by e-mail whole testing project, but the problem demonstration is pretty simple:
I created dialog based application, added combo-box and button to the dialog, filled combo-box in designer with a few strings, added 1 slot and connected button click to the custom slot:
void staticTest::onPushButtonClicked()
{
// to fail Item0 should exist in combobox
QString dataSet = tr("Item0");
int index = ui.comboBox->findText( dataSet ); // fails here
if( index>-1 )
ui.comboBox->setCurrentIndex( index ); }
}
If I am not mistaken I had another failure somewhere too, but this is enough to demonstarate the problem.
Regards,
Alex
-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Dan White
Sent: Friday, April 03, 2009 9:55 PM
To: QT Interest List
Subject: Re: [Qt-interest] Major issues with QT4 on Windows
On Apr 3, 2009, at 9:34 PM, Malyushytsky, Alex wrote:
> 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.
I have had no problem building static Qt applications on Windows with
Qt 4.x
I use the MinGW installation.
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
---------------------------------------------------------------------------------------------------
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