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

761 Commits

Author SHA1 Message Date
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
Jay Two
5d7313ab42
Update macos.yml 2021-06-21 20:41:51 +09:00
Jay Two
1261ecd6d0 Merge branch 'dev97' into 210620 2021-06-20 21:00:23 +09:00
Jay Two
46e6d41b7b issue #162 2021-06-06 21:58:20 +09:00
Jay Two
1018fe6e33
Merge pull request #157 from QtExcel/qt61
update qxlsx.pri for dll(so) project
v1.4.2.2
2021-05-07 23:58:10 +09:00
Jay Two
4f66153d39 update qxlsx.pri for dll(so) project 2021-05-07 23:57:34 +09:00
Jay Two
17e4722ed0
Update HowToSetProject-cmake.ko.md 2021-05-05 23:45:43 +09:00
Jay Two
0ee2c6e70c
Update HowToSetProject-cmake.md 2021-05-05 23:45:24 +09:00
Jay Two
b7b3d96fc7
Merge pull request #148 from QtExcel/qt6beta
Qt6beta
v1.4.2.1
2021-03-13 19:34:34 +09:00
Jay Two
e67147ea36 update webserver example for qt6 2021-03-13 19:25:05 +09:00
Jay Two
ee99dd959c update github actions 2021-03-12 21:00:53 +09:00
Jay Two
b1b374a458
Merge pull request #145 from QtExcel/qt6beta
Qt6beta
v1.4.2
2021-03-07 18:22:46 +09:00
Jay Two
d341197a35 update cmake markdown 2021-03-07 18:15:54 +09:00