Commit Graph

225 Commits

Author SHA1 Message Date
silverqx ffd9dfafdd qmake/cmake bugfix/enhanced constants selection 2024-07-08 14:30:03 +02:00
silverqx 02c5d23c33 qmake bugfix clang-cl PCH #include-s 2024-07-03 17:31:17 +02:00
silverqx afe299e6b0 upgraded to MySQL v9.0
- workflows, tools, docs, qmake, CMake, ...
2024-07-03 16:52:11 +02:00
silverqx eef1769b5f qmake throw error if old Qt was detected
Checked in the TinyOrm.pri and tom.pri when linking against the TinyORM,
2024-07-02 09:53:34 +02:00
silverqx 28dcab84bf qmake fixtypo in error message 2024-06-30 13:21:20 +02:00
silverqx d1e8a1aad8 qmake change minimum Qt version required
Changed from recommended (message() written to console) to required
(error() message thrown).

 - renamed to tinyMinReqQt (v6.2 is minimum)
2024-06-30 13:15:24 +02:00
silverqx eda9df9f9e removed Qt v5 support since TinyORM v0.38.0 🎉🕺🙌
Removed Qt v5.15 support since TinyORM v0.38.0, finally.

Minimum required Qt version is now v6.2!

Day of celebration is today. 😁

 - removed all #if QT_VERSION macro checks
 - updated docs
 - workflows removed Qt v5 related pipelines
 - updated all comments
 - vcpkg removed tinyorm-qt5 port
 - updated Gentoo build
 - updated README.md Qt v5 badges
 - tools removed Qt v5 related scripts
 - tools updated deploy.ps1 script
2024-06-28 14:57:59 +02:00
silverqx 9e95cb01db qmake fixtypo 2024-06-28 11:30:17 +02:00
silverqx e466270bb7 qmake enhanced MSVC array iter. warnings detection
Do it the same as for CMake build.

 - qmake added TINY_COMPILER_FULL_VERSION
 - updated comments
2024-06-28 11:16:52 +02:00
silverqx e088da8955 qmake bugfix/workaround for win32-clang-msvc PCH
Bugfix/workaround for win32-clang-msvc mkspec, it's needed because qmake
doesn't remove $$TARGET_pch.obj and rebuilds fail because the -Yc
compile command for creating PCH isn't called if this file still exists.
2024-06-26 09:42:09 +02:00
silverqx cba2ed2ec6 qmake added -fno-pch-timestamp clang-cl with msvc 2024-06-26 09:23:35 +02:00
silverqx 7396697385 qmake updated comment 2024-06-26 09:12:30 +02:00
silverqx d3d94c89e8 qmake clang-cl added some flags from CMake
Compared qmake and CMake build commands.
2024-06-26 01:52:55 +02:00
silverqx e24064b7fd qmake moved all feature to private/ folder
Moved all features which aren't used through CONFIG+=xyz and are loaded
using the load(private/xyz) function to the qmake/features/private/
folder.

Currently, the qmake/features/ folder contains only features which
should be used using the CONFIG+= qmake variable.
2024-06-25 13:44:52 +02:00
silverqx fc4f65ba4f qmake bugfix ccache Clang -fno-pch-timestamp 2024-06-25 12:13:12 +02:00
silverqx 905c2ba21d qmake ccache excluded macx 2024-06-25 12:13:12 +02:00
silverqx 60d613e98e qmake bugfix ccache on MinGW
g++ doesn't work still, it reports Preprocessing failed.
2024-06-25 12:13:11 +02:00
silverqx 31b8e06a9c fixtypo compiler names
Everywhere cmake, qmake, docs, ...
2024-06-25 12:13:10 +02:00
silverqx 305650fe6c qmake fixtypo 2024-06-25 12:13:10 +02:00
silverqx 1c2f17facf removed deprecated up to Qt v6.9 (Qt::TimeSpec) 🎉
- removed using of QDateTime methods using plain Qt::TimeSpec
 - set QT_DISABLE_DEPRECATED_UP_TO to 0x060900 (also 0x061000 works)
 - maintained Qt v5 and <v6.5 code still 😬 (next step will be to drop
   Qt v5 🎉)
 - updated auto tests
 - updated docs
 - updated comments

See:
https://github.com/qt/qtbase/commit/8c8d6ff7b6e2e6b1b673051685f1499ae4d65e05?diff=unified&w=0
2024-06-25 12:13:07 +02:00
silverqx 5dfe13812d qmake/cmake updated comment 2024-06-19 19:28:01 +02:00
silverqx c32ec5a2e6 upgraded to Qt v6.7.2
- docs
 - tools
 - workflows
 - NOTES.txt
2024-06-19 12:12:19 +02:00
silverqx 6a559305d1 drivers bugfix QDateTime UTC handling (Qt v6.8)
This fixes long standing QtSql QMYSQL and QPSQL bug that ignores
database time zone.

This bugfix doesn't solve it correctly anyway, it only forces time zone
to UTC and isn't able to handle another time zones. But UTC handling is
implemented correctly.

TinyDrivers supports also other time zones using the qt_timezone
connection option.

 - updated QT_DISABLE_DEPRECATED_UP_TO to 0x060800 (Qt v6.8)
 - updated auto tests to pass on Qt v6.8

See MySQL-related:
https://github.com/qt/qtbase/commit/2781c3b6248fe4410a7afffd41bad72d8567fc95
https://codereview.qt-project.org/c/qt/qtbase/+/546954

See PostgreSQL-related:
https://github.com/qt/qtbase/commit/b71f185ffc54245197149d7a6f8b5f756c9b9393
https://codereview.qt-project.org/c/qt/qtbase/+/547611
2024-06-19 11:42:00 +02:00
silverqx 6dfe5037d9 qmake bugfix suppressed rc.exe in silent.prf 2024-06-18 14:16:51 +02:00
silverqx 1c8e4d35ec qmake/cmake disabled deprecated APIs for Qt <=6.7
- for Qt <6 disabled deprecated APIs for Qt <=6.0
 - added temporary workaround for
   QVERIFY_EXCEPTION_THROWN() vs QVERIFY_THROWS_EXCEPTION(), to support
   Qt v6.8 and also older version at the same time
2024-06-16 17:56:34 +02:00
silverqx 30b5226324 qmake ccache redirected outputs to NUL 2024-06-16 16:59:37 +02:00
silverqx 55cc67cd8d qmake bugfix c++2a in Qt v5 2024-06-16 15:16:50 +02:00
silverqx 8ea125d18d qmake/cmake updated NTDDI_VERSION related macros 2024-06-15 14:37:45 +02:00
silverqx 3b68c4977f qmake uncommented silent (forgotten) 2024-06-15 09:43:43 +02:00
silverqx b0ba3b9093 rename macro function 2024-06-03 22:08:40 +02:00
silverqx d7463181e3 qmake/cmake enhanced -Zi|-ZI replacement
- updated docs
2024-06-03 15:23:50 +02:00
silverqx 258cffafa3 qmake/cmake added support for ccache >=4.10
Don't disable PCH on ccache >=4.10 on Windows as PCH works since this
version.

 - updated docs
2024-06-03 14:07:55 +02:00
silverqx 04e2aefa07 qmake enhanced targeting tiny_ccache_win32 2024-06-03 12:45:26 +02:00
silverqx 986f818a74 qmake updated comment 2024-06-02 02:49:16 +02:00
silverqx c28f2e357e qmake revisited all compile/linker flags
Added:

 - -pipe
 - -Wdeprecated-copy-dtor
 - -D_FILE_OFFSET_BITS=64
 - -DWIN64 -D_WIN64

Remove:
 - -fexceptions

MSYS2

 - enabled color diagnostics on msys2
 - added _ENABLE_EXTENDED_ALIGNED_STORAGE
 - bugfix static builds __GXX_TYPEINFO_EQUALITY_INLINE=0
 - enabled hidden visibility
 - enabled --dynamicbase, --high-entropy-va, --nxcompat,
   --default-image-base-high

clang-cl

 - added -Wno-microsoft-include
2024-06-01 23:38:40 +02:00
silverqx bd6a6e3f35 qmake revisited/enhanced extern/inline constants
Everything was fixed in Clang v18, so extern constants are always
enabled by default on all platforms and for both shared/static build
types.

Clang <v18 has still custom patched logic to avoid compile errors and
crashes, but this logic will be removed soon.
2024-06-01 21:26:03 +02:00
silverqx 83d943585d qmake used c++20 instead of c++2a
It's alias anyway.
2024-06-01 19:43:36 +02:00
silverqx e3ce539d4d qmake added no_include_pwd 2024-06-01 19:43:36 +02:00
silverqx e953577f5a updated NOTES.txt
- qmake/cmake added comments
2024-05-31 00:24:34 +02:00
silverqx 6e52ee447e qmake enhanced TINY_COMPILER/SIMULATED_VERSION
- extracted logic to own tiny_compiler_version.prf file
 - removed TINY_MSVC_COMPILER_VERSION and TINY_CLANG_CL_COMPILER_VERSION
   qmake variables
 - made TINY_COMPILER_VERSION and TINY_SIMULATED_VERSION available
   globally to all subprojects using the ccache(stash)
2024-05-30 18:46:41 +02:00
silverqx 197ff742f4 qmake quoted strings 2024-05-30 16:18:28 +02:00
silverqx 78e15beb1c qmake quoted strings 2024-05-30 14:19:19 +02:00
silverqx 09eb923ba8 qmake updated error messages 2024-05-30 03:26:35 +02:00
silverqx 3d0d17b416 qmake bugfix tiny_ccache_win32.prf 2024-05-25 11:03:02 +02:00
silverqx f8901a9062 qmake enhanced tiny_ccache_win32.prf 2024-05-25 11:03:00 +02:00
silverqx d970f13cb5 upgraded to Qt v6.7.1
- docs
 - tools
 - workflows
 - NOTES.txt
2024-05-24 21:45:42 +02:00
silverqx 1f34fcd9b7 qmake/cmake enabled C/C++ conformant preprocessor 2024-05-22 11:15:30 +02:00
silverqx 720b3f9e07 upgraded to MySQL v8.4
- docs
 - qmake auto-detection
 - tools
 - workflows

[skip ci]
2024-05-14 15:39:33 +02:00
silverqx ea2cabfeca qmake added ccache.prf
It allows to enable ccache using "CONFIG+=ccache" on both OS-es.

[skip ci]
2024-05-13 17:55:45 +02:00
silverqx 3a95adbea3 qmake bugfix/enhanced tiny_ccache_win32
[skip ci]
2024-05-10 22:38:50 +02:00