1
0
mirror of https://github.com/QtExcel/QXlsx.git synced 2025-01-16 04:42:53 +08:00

773 Commits

Author SHA1 Message Date
Alexey Sokolov
9ab612ff5c Update cmake docs to mention Qt version in cmake 2022-12-18 22:25:41 -03:00
Daniel Nicoletti
5488bedb65 Make more use of std::shared 2022-12-14 16:04:28 -03:00
Daniel Nicoletti
971843da44 Make use of std::shared and make_shared 2022-12-14 14:42:01 -03:00
Daniel Nicoletti
5b565bf260 Use already found Qt major verion
When including this project into other
project it might happen that find_package()
has already found a Qt version, so we
will use it if QT_MAJOR_VERSION was already
defined.

ISSUE: #258
2022-12-13 23:52:18 -03:00
Jihadist
1e8de52879 Github actions: cmake add msvc, macos 2022-12-05 15:34:30 -03:00
Daniel Nicoletti
99c2b9d226 Fix clazy issues 2022-11-27 11:59:19 -03:00
Daniel Nicoletti
bdda656823 Fix override warnings 2022-11-08 09:35:38 -03:00
Jihadist
e501c03198 Add github workflow for cmake 2022-11-06 11:25:03 -03:00
Anton
b5585decd4 Update doc for cmake 2022-10-30 08:36:53 -03:00
Daniel Nicoletti
c90929a4e9 Keep Qt5.9 as supported till eol of ubuntu 18.04 2022-10-17 11:33:41 -03:00
Daniel Nicoletti
ae230f61fe Try to fix Android CI 2022-10-17 11:33:41 -03:00
Daniel Nicoletti
a506a60f16 Fix possible crash on begin() 2022-10-17 11:33:41 -03:00
Daniel Nicoletti
f015cab0c6 Remove old ifdefs 2022-10-17 11:33:41 -03:00
Daniel Nicoletti
52c3dc75fa Fixes for the Qt5.9 drop support 2022-10-17 11:33:41 -03:00
Alexey Sokolov
93e64885d0 Revert "Drop Qt5.9 and older support"
This reverts commit a45571842aaf9839b418a2653fa199b87a631bc9.
2022-10-17 08:38:10 -03:00
Alexey Sokolov
6899b68adb Update docs 2022-10-17 08:37:45 -03:00
Alexey Sokolov
ab2a4e1346 Support installing qt5 and qt6 versions in parallel 2022-10-17 08:37:36 -03:00
Maxim Korotkov
71381d53b7
added checking of ptr before it was dereferenced (#246)
* added checking of ptr before it was dereferenced
2022-10-17 08:31:13 -03:00
Daniel Nicoletti
a45571842a Drop Qt5.9 and older support
QXlsx can't even be compiled for Qt4 and
there where still some Qt4 leftovers.

This adds basic QStringView usage where it
makes sense.
2022-10-16 19:17:05 -03:00
Alexey Sokolov
647acc3c4d Set soversion to version
Since there's no ABI guarantees, as mentioned in #243
2022-10-13 15:45:33 -03:00
Jay Two
5e38b3e4c6 merge documents written in the past (Written by @NikkiKurashov) 2022-10-07 10:59:11 +09:00
Christopher Gallé
2daf6a9fa3 Sheet header was lost if only a header but no footer was provided 2022-09-18 15:39:08 -03:00
Daniel Nicoletti
3f19752a3c Disable strict iterators on Windows builds
Strict iterators can't be used on Windows, they lead to a link error
when application code iterates over a QVector<QPoint> for instance, unless
Qt itself was also built with strict iterators.
See example at https://bugreports.qt.io/browse/AUTOSUITE-946

FIXES: #235
2022-09-18 15:37:20 -03:00
Alexey Sokolov
5d1059941f Install library to the correct lib dir 2022-09-18 14:43:56 -03:00
Maxim Korotkov
43adfe6e40
Fix sast issues (#230)
* remove always false condition

* fixed possible typo

* fixed typo in bad copy-paste

* code review remark
2022-08-30 09:44:11 -03:00
Alexey Sokolov
8e83402db8 Don't force Qt definitions onto users
It breaks users who use "signals" keyword and convert const char* to
QString.
2022-08-26 07:13:46 -03:00
Martin Delille
38c1ec8104
Define cpp standard only if not defined (#226)
* Define cpp standard only if not defined

* Add Paul Harris recommandations

* Use c++17 only for qt6

* Whitespace formatting
v1.4.4
2022-07-22 15:11:29 -03:00
Martin Delille
e53efc5353 Use c++17 when using Qt 6 2022-07-05 08:38:52 -03:00
Martin Delille
73ea291c5d Minor formatting fix 2022-07-05 08:38:52 -03:00
Daniel Nicoletti
6d1667f55c Fix shared builds 2022-06-22 10:30:55 -03:00
Daniel Nicoletti
d2198a84ef Fix warnings
Closes: #188
2022-06-22 08:53:26 -03:00
Daniel Nicoletti
3552c271c2 Fix not exporting symbols when on a static build
FIXES: #210
2022-06-22 08:27:48 -03:00
Daniel Nicoletti
2889fbd6ec Fix Qt6 build
FIXES: #212
2022-06-22 07:53:35 -03:00
Daniel Nicoletti
1b0a2792c4
CMake: Allow for OPTIONAL shared lib build (#197)
* Allow this project to be used with CMake FetchContent
 * Make sure only public headers are installed
 * Add support to generate packages with CPack
 * Set the proper targets/interfaces when used as shared library
 * Fixes ISSUE #49 exporting symbols
2022-06-07 08:11:31 -03:00
SkyZhou
9ae0d17acb Add a methon to class Document
Add a methon to class Document in order to set sheet to be actived by the index.
2022-06-05 13:04:12 -03:00
Nikita Bulaev
296e01a3db Fix datetimeFromNumber() issue with float/double 2022-06-05 12:57:39 -03:00
GunnerFreeman
e9b56b3a3a Fix StringsToNumbersEnabled
Checking to see if the value to write is a double then not writing it as a double is incorrect and doesn't even match the comment directly above the incorrect code.
2022-06-05 12:55:14 -03:00
Stefan Gerlach
e9ef0cd256 Fix compiler warnings 2022-06-05 12:52:17 -03:00
Waqar Ahmed
7afd992037 Prevent unecessary Cell object creations
A static method can do the same thing without creating anything
2022-06-05 12:49:25 -03:00
Waqar Ahmed
ad0aedcc51 Prevent unecessary temporary QString creations
Use the `QStringRef::toInt() / QStringRef::toDouble()` methods directly
2022-06-05 12:48:30 -03:00
Daniel Nicoletti
1284030a2a Remove unused QPair include 2022-06-05 12:44:06 -03:00
Daniel Nicoletti
5a086df3d7 Force strict building and fix QString usage 2022-06-05 12:44:06 -03:00
Jay Two
0461eac843 issue#173 v1.4.3 2021-08-11 22:12:26 +09:00
Jay Two
8817bb9077 https://github.com/QtExcel/QXlsx/pull/172/files 2021-08-08 19:08:34 +09:00
Jay Two
14e7ef7634 https://github.com/QtExcel/QXlsx/issues/171 2021-08-08 18:43:45 +09:00
Jay Two
560e52d84c Merge branch '210620' 2021-06-21 21:06:08 +09:00
Jay Two
769b757dc5 update actions 2021-06-21 20:58:58 +09:00
Jay Two
6ae592acf7
Update ios.yml 2021-06-21 20:48:53 +09:00
Jay Two
582b4cc153
Update android.yml 2021-06-21 20:48:33 +09:00
Jay Two
77506c5b9d
Update windows.yml 2021-06-21 20:48:10 +09:00