[SOLVED] How to use QtWinExtras in cross-platform application
General and Desktop
3
Posts
3
Posters
1.0k
Views
3
Watching
-
Should i seperate module and header includes with conditionals like
/// .pro file win32:QT += winextras /// .cpp file #ifdef Q_OS_WIN #include <QtWin> #endif /// ... later #ifdef Q_OS_WIN QWinTaskbarButton *taskbarButton = new QWinTaskbarButton(this); #endifor can i omit those conditionals?
-
Hi,
Yes you should, these are platform dependent code