Commit Graph

20 Commits

Author SHA1 Message Date
silverqx d2999dfcbf qmake/cmake unified debug output
- removed all occurrences of QT_NO_DEBUG_OUTPUT, it is up to user
 - TINYORM_DEBUG_SQL is enabled in debug builds and TINYORM_NO_DEBUG_SQL
   in release builds, user still can override debug build with
   TINYORM_NO_DEBUG_SQL
 - enhanced debug output in DatabaseConnection class
 - added driverNamePrintable(), databaseName(), hostName() to
   DB/DatabaseManager/DatabaseConnection
 - logquery added to NS and created library class for it
2021-10-21 09:48:53 +02:00
silverqx a595656804 qmake added Windows RC and manifest file for tests 2021-10-09 19:45:38 +02:00
silverqx b06f17a5bd qmake use INCLUDEPATH instead of include.pri
Do not use HEADERS from TinyORM project in tests.
2021-10-07 15:13:28 +02:00
silverqx 4024f4a35e qmake moved TinyOrm.pri, enforce extern_constants
- TinyOrm.pri moved to tests/qmake/
 - enforce extern constants in shared build/linking when a user did not
   define it
2021-10-07 12:56:58 +02:00
silverqx a573409160 added TinyOrm.pri
Used this TinyOrm.pri file in TinyUtils library and individual tests.
2021-10-07 10:40:51 +02:00
silverqx e8d98fdbcd qmake renamed tests/utils project to TinyUtils 2021-10-07 09:53:39 +02:00
silverqx 9a9a9d1e37 renamed utils.pri to TinyUtils.pri 2021-10-07 09:40:49 +02:00
silverqx 4deafe66a1 qmake static build support
Added CONFIG option inline_constants/extern_constants, in shared library
build is used extern_constants option ( can be overridden by
inline_constants option ) and in static library build is used
inline_constants option ( can not be overridden, extern constants cause
crash ).

 - refactored exports in TinyUtils
 - bugfix on tst_version for static build
2021-10-07 09:37:14 +02:00
silverqx 2924e99ce4 qmake extracted common logic for TINY_RELEASE_TYPE 2021-10-03 08:33:27 +02:00
silverqx e865417b77 qmake used single line syntax everywhere 2021-10-02 17:37:11 +02:00
silverqx 7746c5517d qmake conf.pri moved to the bottom
conf.pri user configuration files moved to the bottom of .pro/.pri
files, so an user can override everything.

 - bugfix PCH in tests was not closed in the precompile_header check
2021-10-02 17:23:05 +02:00
silverqx bbabe43ecc moved utils folder to tests/ 2021-09-30 09:15:28 +02:00
silverqx 11116a274f moved utils.pri to tests/qmake/ 2021-09-29 21:40:41 +02:00
silverqx a542a42ac6 cmake/qmake unified TinyUtils library name
- unified LIBS -l and added / at end for -L
2021-09-29 20:19:36 +02:00
silverqx d8a741e7aa initial support for mingw64 qmake builds 2021-09-18 16:52:48 +02:00
silverqx 7d7ac6656d enhanced qmake build 2021-08-31 09:14:13 +02:00
silverqx 1474135b4c bugfix re-throwing exception in connection factory
- also fixed Utils::Type::classPureBasename() RegEx
 - changed link library name to -lTinyOrm
2021-05-02 15:40:47 +02:00
silverqx 531491fe4d bugfix added missing qmake define in tests
Bugfix after: enhanced building staticlib/shared.
2021-05-02 14:56:54 +02:00
silverqx a16e4e6d54 renamed test projects and folders
From tst_basemodel* to tst_model*.

 - also renamed remaining strings
2021-04-12 13:12:05 +02:00
silverqx c41c01da03 moved common.pri for models to qmake folder 2021-04-11 16:48:58 +02:00