Enable full static.h on Windows.

This commit is contained in:
Roman Telezhynskyi 2023-01-17 16:48:31 +03:00
parent 09747beea9
commit 3392ea560e
21 changed files with 456 additions and 467 deletions

View file

@ -51,8 +51,6 @@
# include <QtXml>
#endif
//In Windows you can't use same header in all modes.
#if !defined(Q_OS_WIN)
#ifdef QT_WIDGETS_LIB
# include <QtWidgets>
#endif
@ -65,7 +63,6 @@
# include <QtPrintSupport>
#endif
//Build doesn't work, if include this headers on Windows.
#ifdef QT_XMLPATTERNS_LIB
# include <QtXmlPatterns>
#endif
@ -77,7 +74,6 @@
#ifdef QT_CONCURRENT_LIB
# include <QtConcurrent>
#endif
#endif/*Q_OS_WIN*/
#endif /*__cplusplus*/

View file

@ -51,8 +51,10 @@
# include <QtXml>
#endif
//In Windows you can't use same header in all modes.
#if !defined(Q_OS_WIN)
#ifdef QT_WINEXTRAS_LIB
# include <QtWinExtras>
#endif
#ifdef QT_WIDGETS_LIB
# include <QtWidgets>
#endif
@ -65,7 +67,6 @@
# include <QtPrintSupport>
#endif
//Build doesn't work, if include this headers on Windows.
#ifdef QT_XMLPATTERNS_LIB
# include <QtXmlPatterns>
#endif
@ -77,7 +78,6 @@
#ifdef QT_CONCURRENT_LIB
# include <QtConcurrent>
#endif
#endif/*Q_OS_WIN*/
#endif /*__cplusplus*/

View file

@ -55,8 +55,6 @@
# include <QtWinExtras>
#endif
//In Windows you can't use same header in all modes.
#if !defined(Q_OS_WIN)
#ifdef QT_WIDGETS_LIB
# include <QtWidgets>
#endif
@ -69,7 +67,6 @@
# include <QtPrintSupport>
#endif
//Build doesn't work, if include this headers on Windows.
#ifdef QT_XMLPATTERNS_LIB
# include <QtXmlPatterns>
#endif
@ -81,7 +78,6 @@
#ifdef QT_CONCURRENT_LIB
# include <QtConcurrent>
#endif
#endif/*Q_OS_WIN*/
#endif /*__cplusplus*/

View file

@ -49,8 +49,10 @@
# include <QtXml>
#endif
//In Windows you can't use same header in all modes.
#if !defined(Q_OS_WIN)
#ifdef QT_WINEXTRAS_LIB
# include <QtWinExtras>
#endif
#ifdef QT_WIDGETS_LIB
# include <QtWidgets>
#endif
@ -63,7 +65,6 @@
# include <QtPrintSupport>
#endif
//Build doesn't work, if include this headers on Windows.
#ifdef QT_XMLPATTERNS_LIB
# include <QtXmlPatterns>
#endif
@ -75,7 +76,6 @@
#ifdef QT_CONCURRENT_LIB
# include <QtConcurrent>
#endif
#endif/*Q_OS_WIN*/
#endif/*__cplusplus*/

View file

@ -49,8 +49,10 @@
# include <QtXml>
#endif
//In Windows you can't use same header in all modes.
#if !defined(Q_OS_WIN)
#ifdef QT_WINEXTRAS_LIB
# include <QtWinExtras>
#endif
#ifdef QT_WIDGETS_LIB
# include <QtWidgets>
#endif
@ -63,7 +65,6 @@
# include <QtPrintSupport>
#endif
//Build doesn't work, if include this headers on Windows.
#ifdef QT_XMLPATTERNS_LIB
# include <QtXmlPatterns>
#endif
@ -75,7 +76,6 @@
#ifdef QT_CONCURRENT_LIB
# include <QtConcurrent>
#endif
#endif/*Q_OS_WIN*/
#endif/*__cplusplus*/

View file

@ -46,8 +46,10 @@
# include <QtXml>
#endif
//In Windows you can't use same header in all modes.
#if !defined(Q_OS_WIN)
#ifdef QT_WINEXTRAS_LIB
# include <QtWinExtras>
#endif
#ifdef QT_WIDGETS_LIB
# include <QtWidgets>
#endif
@ -60,7 +62,6 @@
# include <QtPrintSupport>
#endif
//Build doesn't work, if include this headers on Windows.
#ifdef QT_XMLPATTERNS_LIB
# include <QtXmlPatterns>
#endif
@ -68,11 +69,11 @@
#ifdef QT_NETWORK_LIB
# include <QtNetwork>
#endif
#endif/*Q_OS_WIN*/
#ifdef QT_CONCURRENT_LIB
# include <QtConcurrent>
#endif
#endif
#endif/*__cplusplus*/
#endif // STABLE_H

View file

@ -51,8 +51,10 @@
# include <QtXml>
#endif
//In Windows you can't use same header in all modes.
#if !defined(Q_OS_WIN)
#ifdef QT_WINEXTRAS_LIB
# include <QtWinExtras>
#endif
#ifdef QT_WIDGETS_LIB
# include <QtWidgets>
#endif
@ -65,7 +67,6 @@
# include <QtPrintSupport>
#endif
//Build doesn't work, if include this headers on Windows.
#ifdef QT_XMLPATTERNS_LIB
# include <QtXmlPatterns>
#endif
@ -77,7 +78,6 @@
#ifdef QT_CONCURRENT_LIB
# include <QtConcurrent>
#endif
#endif/*Q_OS_WIN*/
#endif/*__cplusplus*/

View file

@ -49,8 +49,10 @@
# include <QtXml>
#endif
//In Windows you can't use same header in all modes.
#if !defined(Q_OS_WIN)
#ifdef QT_WINEXTRAS_LIB
# include <QtWinExtras>
#endif
#ifdef QT_WIDGETS_LIB
# include <QtWidgets>
#endif
@ -63,7 +65,6 @@
# include <QtPrintSupport>
#endif
//Build doesn't work, if include this headers on Windows.
#ifdef QT_XMLPATTERNS_LIB
# include <QtXmlPatterns>
#endif
@ -75,7 +76,6 @@
#ifdef QT_CONCURRENT_LIB
# include <QtConcurrent>
#endif
#endif/*Q_OS_WIN*/
#endif/*__cplusplus*/

View file

@ -49,8 +49,10 @@
# include <QtXml>
#endif
//In Windows you can't use same header in all modes.
#if !defined(Q_OS_WIN)
#ifdef QT_WINEXTRAS_LIB
# include <QtWinExtras>
#endif
#ifdef QT_WIDGETS_LIB
# include <QtWidgets>
#endif
@ -63,7 +65,6 @@
# include <QtPrintSupport>
#endif
//Build doesn't work, if include this headers on Windows.
#ifdef QT_XMLPATTERNS_LIB
# include <QtXmlPatterns>
#endif
@ -75,7 +76,6 @@
#ifdef QT_CONCURRENT_LIB
# include <QtConcurrent>
#endif
#endif/*Q_OS_WIN*/
#endif/*__cplusplus*/

View file

@ -49,8 +49,10 @@
# include <QtXml>
#endif
//In Windows you can't use same header in all modes.
#if !defined(Q_OS_WIN)
#ifdef QT_WINEXTRAS_LIB
# include <QtWinExtras>
#endif
#ifdef QT_WIDGETS_LIB
# include <QtWidgets>
#endif
@ -63,7 +65,6 @@
# include <QtPrintSupport>
#endif
//Build doesn't work, if include this headers on Windows.
#ifdef QT_XMLPATTERNS_LIB
# include <QtXmlPatterns>
#endif
@ -75,7 +76,6 @@
#ifdef QT_CONCURRENT_LIB
# include <QtConcurrent>
#endif
#endif/*Q_OS_WIN*/
#endif/*__cplusplus*/

View file

@ -49,8 +49,6 @@
# include <QtXml>
#endif
//In Windows you can't use same header in all modes.
#if !defined(Q_OS_WIN)
#ifdef QT_WIDGETS_LIB
# include <QtWidgets>
#endif
@ -63,7 +61,6 @@
# include <QtPrintSupport>
#endif
//Build doesn't work, if include this headers on Windows.
#ifdef QT_XMLPATTERNS_LIB
# include <QtXmlPatterns>
#endif
@ -75,7 +72,6 @@
#ifdef QT_CONCURRENT_LIB
# include <QtConcurrent>
#endif
#endif/*Q_OS_WIN*/
#endif/*__cplusplus*/

View file

@ -49,8 +49,10 @@
# include <QtXml>
#endif
//In Windows you can't use same header in all modes.
#if !defined(Q_OS_WIN)
#ifdef QT_WINEXTRAS_LIB
# include <QtWinExtras>
#endif
#ifdef QT_WIDGETS_LIB
# include <QtWidgets>
#endif
@ -63,7 +65,6 @@
# include <QtPrintSupport>
#endif
//Build doesn't work, if include this headers on Windows.
#ifdef QT_XMLPATTERNS_LIB
# include <QtXmlPatterns>
#endif
@ -75,7 +76,6 @@
#ifdef QT_CONCURRENT_LIB
# include <QtConcurrent>
#endif
#endif/*Q_OS_WIN*/
#endif/*__cplusplus*/

View file

@ -49,8 +49,10 @@
# include <QtXml>
#endif
//In Windows you can't use same header in all modes.
#if !defined(Q_OS_WIN)
#ifdef QT_WINEXTRAS_LIB
# include <QtWinExtras>
#endif
#ifdef QT_WIDGETS_LIB
# include <QtWidgets>
#endif
@ -63,7 +65,6 @@
# include <QtPrintSupport>
#endif
//Build doesn't work, if include this headers on Windows.
#ifdef QT_XMLPATTERNS_LIB
# include <QtXmlPatterns>
#endif
@ -75,7 +76,6 @@
#ifdef QT_CONCURRENT_LIB
# include <QtConcurrent>
#endif
#endif/*Q_OS_WIN*/
#endif/*__cplusplus*/

View file

@ -42,8 +42,10 @@
# include <QtXml>
#endif
//In Windows you can't use same header in all modes.
#if !defined(Q_OS_WIN)
#ifdef QT_WINEXTRAS_LIB
# include <QtWinExtras>
#endif
#ifdef QT_WIDGETS_LIB
# include <QtWidgets>
#endif
@ -56,7 +58,6 @@
# include <QtPrintSupport>
#endif
//Build doesn't work, if include this headers on Windows.
#ifdef QT_XMLPATTERNS_LIB
# include <QtXmlPatterns>
#endif
@ -68,7 +69,6 @@
#ifdef QT_CONCURRENT_LIB
# include <QtConcurrent>
#endif
#endif/*Q_OS_WIN*/
#endif /*__cplusplus*/

View file

@ -53,8 +53,10 @@
# include <QtTest>
#endif
//In Windows you can't use same header in all modes.
#if !defined(Q_OS_WIN)
#ifdef QT_WINEXTRAS_LIB
# include <QtWinExtras>
#endif
#ifdef QT_WIDGETS_LIB
# include <QtWidgets>
#endif
@ -67,7 +69,6 @@
# include <QtPrintSupport>
#endif
//Build doesn't work, if include this headers on Windows.
#ifdef QT_XMLPATTERNS_LIB
# include <QtXmlPatterns>
#endif
@ -79,7 +80,6 @@
#ifdef QT_CONCURRENT_LIB
# include <QtConcurrent>
#endif
#endif/*Q_OS_WIN*/
#endif/*__cplusplus*/

View file

@ -51,8 +51,10 @@
# include <QtXml>
#endif
//In Windows you can't use same header in all modes.
#if !defined(Q_OS_WIN)
#ifdef QT_WINEXTRAS_LIB
# include <QtWinExtras>
#endif
#ifdef QT_WIDGETS_LIB
# include <QtWidgets>
#endif
@ -65,7 +67,6 @@
# include <QtPrintSupport>
#endif
//Build doesn't work, if include this headers on Windows.
#ifdef QT_XMLPATTERNS_LIB
# include <QtXmlPatterns>
#endif
@ -77,7 +78,6 @@
#ifdef QT_CONCURRENT_LIB
# include <QtConcurrent>
#endif
#endif/*Q_OS_WIN*/
#endif /*__cplusplus*/

View file

@ -49,8 +49,10 @@
# include <QtXml>
#endif
//In Windows you can't use same header in all modes.
#if !defined(Q_OS_WIN)
#ifdef QT_WINEXTRAS_LIB
# include <QtWinExtras>
#endif
#ifdef QT_WIDGETS_LIB
# include <QtWidgets>
#endif
@ -63,7 +65,6 @@
# include <QtPrintSupport>
#endif
//Build doesn't work, if include this headers on Windows.
#ifdef QT_XMLPATTERNS_LIB
# include <QtXmlPatterns>
#endif
@ -75,7 +76,6 @@
#ifdef QT_CONCURRENT_LIB
# include <QtConcurrent>
#endif
#endif/*Q_OS_WIN*/
#endif/*__cplusplus*/

View file

@ -55,8 +55,10 @@
# include <QtTest>
#endif
//In Windows you can't use same header in all modes.
#if !defined(Q_OS_WIN)
#ifdef QT_WINEXTRAS_LIB
# include <QtWinExtras>
#endif
#ifdef QT_WIDGETS_LIB
# include <QtWidgets>
#endif
@ -69,7 +71,6 @@
# include <QtPrintSupport>
#endif
//Build doesn't work, if include this headers on Windows.
#ifdef QT_XMLPATTERNS_LIB
# include <QtXmlPatterns>
#endif
@ -81,7 +82,6 @@
#ifdef QT_CONCURRENT_LIB
# include <QtConcurrent>
#endif
#endif/*Q_OS_WIN*/
#endif /*__cplusplus*/

View file

@ -53,8 +53,10 @@
# include <QtTest>
#endif
//In Windows you can't use same header in all modes.
#if !defined(Q_OS_WIN)
#ifdef QT_WINEXTRAS_LIB
# include <QtWinExtras>
#endif
#ifdef QT_WIDGETS_LIB
# include <QtWidgets>
#endif
@ -67,7 +69,6 @@
# include <QtPrintSupport>
#endif
//Build doesn't work, if include this headers on Windows.
#ifdef QT_XMLPATTERNS_LIB
# include <QtXmlPatterns>
#endif
@ -79,7 +80,6 @@
#ifdef QT_CONCURRENT_LIB
# include <QtConcurrent>
#endif
#endif/*Q_OS_WIN*/
#endif

View file

@ -55,8 +55,10 @@
# include <QtTest>
#endif
//In Windows you can't use same header in all modes.
#if !defined(Q_OS_WIN)
#ifdef QT_WINEXTRAS_LIB
# include <QtWinExtras>
#endif
#ifdef QT_WIDGETS_LIB
# include <QtWidgets>
#endif
@ -69,7 +71,6 @@
# include <QtPrintSupport>
#endif
//Build doesn't work, if include this headers on Windows.
#ifdef QT_XMLPATTERNS_LIB
# include <QtXmlPatterns>
#endif
@ -81,7 +82,6 @@
#ifdef QT_CONCURRENT_LIB
# include <QtConcurrent>
#endif
#endif/*Q_OS_WIN*/
#endif /*__cplusplus*/

View file

@ -55,8 +55,10 @@
# include <QtTest>
#endif
//In Windows you can't use same header in all modes.
#if !defined(Q_OS_WIN)
#ifdef QT_WINEXTRAS_LIB
# include <QtWinExtras>
#endif
#ifdef QT_WIDGETS_LIB
# include <QtWidgets>
#endif
@ -69,7 +71,6 @@
# include <QtPrintSupport>
#endif
//Build doesn't work, if include this headers on Windows.
#ifdef QT_XMLPATTERNS_LIB
# include <QtXmlPatterns>
#endif
@ -81,7 +82,6 @@
#ifdef QT_CONCURRENT_LIB
# include <QtConcurrent>
#endif
#endif/*Q_OS_WIN*/
#endif /*__cplusplus*/