简体   繁体   中英

ComCtl32.dll Version 6 with Qt

I'm trying to implement a balloon tip. By following the instructions on this page:

http://msdn.microsoft.com/en-us/library/bb760252%28VS.85%29.aspx

I managed to implement the balloon, but the balloon is not using the appropriate theme under Win7. I read somewhere else that for the balloon to use the right visual style, ComCtl32.dll Version 6 must be used.

http://msdn.microsoft.com/en-us/library/ms997646.aspx

Now, my development platform is Qt. Is there any way to tell Qt to use ComCtl32.dll Version 6? Or am I forced to use Visual Studio?

In order to use you need a manifest file (check your second link for the one needed). What visual studio does automatically is add such file as a resource file.

In any case if you have an Application.exe you can provide an external manifest named Application.exe.manifest in the same folder, and windows should load it.

If you have installed windows sdk (free download from microsoft) you can use mt.exe provided by it to embed a manifest . Also there are other ways for doing this with tools provided by mingw.

我已经在博客上写了

既然使用Qt,为什么不使用QToolTip

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM