-
Notifications
You must be signed in to change notification settings - Fork 636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow compilation of the library using CMake #148
Open
arcadien
wants to merge
30
commits into
dbzhang800:master
Choose a base branch
from
pollen-metrology:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arcadien
commented
Jan 13, 2017
- Added CMakelists.txt control files
- Remove a QSharedPointer usage which bugs MSVC14
Added compatibility with Qt 5.6
Add CMake support for library and tests
Fix CMake 'install' target
More cmake-ization
Remove QSharedPointer probably incorrecy in xlxdocument
Nullpointer with this sequence: 1. Create new document 2. Insert at exceeding index (i.e. 1 with a new document) 3. Try to write to document 4. Crash while writing, because internal structure has wrong index. ' QXlsx::Document xlsx(file_url); if(!xlsx.insertSheet(1, "records")){ qDebug() << "Never here"; } xlsx.write(1, 1, "id"); xlsx.save();'
NullPointer insertSheet with exceeding index fix
Synchronization with origin
…add histogram example file
* Debian-based Linux does not have any CMake files for Qt, and we rely on it for compilation (we are using private includes of Qt here). Script has been updated to add hardcoded pathes for these includes, echoing the needed package name.
remove static cache in col_to_name
daa20
reviewed
Oct 24, 2022
endif() | ||
if(${_qt_gui_include_dir} MATCHES "include/QtCore") | ||
list(APPEND Qt5Gui_PRIVATE_INCLUDE_DIRS "${_qt_gui_include_dir}/${Qt5Core_VERSION}") | ||
list(APPEND Qt5Gui_PRIVATE_INCLUDE_DIRS "${_qt_gui_include_dir}/${Qt5Core_VERSION}/QtCore") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it Qt5Core_PRIVATE_INCLUDE_DIRS?
daa20
reviewed
Oct 24, 2022
endif() | ||
if(NOT Qt5Core_PRIVATE_INCLUDE_DIRS) | ||
message("-- WARNING: No CMake setup for Qt 'Core' private part. You should need qtbase5-private-dev package") | ||
list(APPEND Qt5Gui_PRIVATE_INCLUDE_DIRS "/usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1/QtCore/") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it Qt5Core_PRIVATE_INCLUDE_DIRS?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.