[Qt-interest] Windows theming of standard dialogs

Kaleb Pederson kaleb.pederson at gmail.com
Wed Jun 17 18:54:05 CEST 2009


On Wed, Jun 17, 2009 at 9:28 AM, Kyle Alons<kyle at kinook.com> wrote:
>> Did you download the pre-compiled version of Qt
>
> Yes.  The pre-compiled executables have this problem.
>
>>or compiled it by  yourself? In the latter case, did you enable Windows XP
>>style?
>>
>
> Compiling it myself also has the same problem.  How to enable Windows XP
> style (shouldn't it be automatic)?

You need the platform sdk if you want to have the XP style support
(and maybe even need more than that, I don't remember), so it's not
usually a requirement.

> The rest of the application is drawn
> themed (for instance, Help | About has themed buttons and background), but
> not the standard dialogs.

Are you using the native dialogs?:

QFileDialog::getOpenFileName(...)
QFileDialog::getSaveFileName(...)

If you are not, or are using QFileDialog::DontUseNativeDialog, then
it's to be expected.

Both approaches have problems.

--Kaleb




More information about the Qt-interest-old mailing list