Update MSVC compiler options and CMake configuration for 1.5.1#457
Closed
j2doll wants to merge 7 commits into
Closed
Update MSVC compiler options and CMake configuration for 1.5.1#457j2doll wants to merge 7 commits into
j2doll wants to merge 7 commits into
Conversation
- Disable strict MSVC compliance mode to prevent build errors caused by standard library ('stdext') changes in newer MSVC compilers with older Qt headers.
Replace MSVC compliance mode disabling with a definition to allow compiler and STL version mismatch.
Updated CMakeLists.txt to modify compiler options for MSVC.
Removed MSVC specific flags for permissive mode.
|
This file contains hidden or 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
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.



This pull request updates build configuration and compatibility for the QXlsx project, with a focus on improving C++ standard handling, supporting MSVC builds, and updating versioning. The changes enhance cross-platform compatibility and modernize the build process.
Build system and compatibility improvements:
1.5.0to1.5.1inQXlsx/CMakeLists.txtto reflect the latest changes.QXlsx/QXlsx.prito automatically set the C++ standard: uses C++11 for Qt 5 and C++17 for Qt 6, improving compatibility and modernization.QXlsx/CMakeLists.txtto force the/permissiveflag for MSVC builds, ensuring compatibility with certain C++ standards and suppressing related build errors.QXlsx/header/xlsxglobal.hto definestdextfor MSVC compilers, improving compatibility with Microsoft's STL extensions.Code and configuration cleanup:
ExcelViewer/mainwindow.cppand cleaned up redundant header/source references inQXlsx/QXlsx.pro. [1] [2]