I like that Qt is cross-platform, but I want to create an application that will be called in some specific Windows DLLs. Like Google Chrome with glass in Windows Vista / 7 (I know that Chrome is not written using the Qt infrastructure, I just thought it was a good example).
How can I do this in Qt? Is it possible?
You can, of course, call WinAPI functions directly from your Qt code, then it is better to include qt_windows.h not windows.h.
Windows 7 , Qt. Q7Goodies.
, . ! Qt - DLL, , . DLL, , .
, Qt Windows.
Windows SDK, , Qt Win32-. Qt Creator ++, MinGW Win32 SDK. Windows #ifdefs , - , :
#ifdef Q_OS_WIN #include <windows.h> void someWindowsSpecificFunc() { ... } #endif // Q_OS_WIN
Fearlessly go to your Win application. You can use all the necessary Windows DLLs. In this sense, Qt has no limits. You will continue to take advantage of the excellent Qt layout features and custom skinning. As for skinning, there is no better basis for Qt. Your users will love all the modified dialogs that you provide them.
Source: https://habr.com/ru/post/1722182/More articles:Strange issue with System.Speech speech synthesizer - windowsИсходные источники случайных чисел - randomto get text from a class without a window - operaКаким образом можно отправлять электронную почту напрямую * с использованием протокола SMTP? (обход MTA на моем конце) - emailOrganization of Python projects with shared packages - pythonhtml tidy and rails apps - erb or rthml files. Ruby alternative? - htmlWPF ListView: title style - listviewScrum Project Managment with Trac Integration - project-managementVarious syntaxes for calling a method in OO languages - language-agnosticРабота с Google OpenID - phpAll Articles