Skip to content
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

New build issue between 1.4.8 -> 1.4.9 #349

Open
limburgher opened this issue Aug 12, 2024 · 5 comments
Open

New build issue between 1.4.8 -> 1.4.9 #349

limburgher opened this issue Aug 12, 2024 · 5 comments

Comments

@limburgher
Copy link

[ 35%] Building CXX object CMakeFiles/QXlsx.dir/source/xlsxworksheet.cpp.o
/usr/lib64/ccache/g++ -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0x060600 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_QSTRINGBUILDER -DQXlsx_EXPORTS -DQXlsx_SHAREDLIB -I/home/gwyn/fedora/git/QXlsx/QXlsx-1.4.9/redhat-linux-build -I/home/gwyn/fedora/git/QXlsx/QXlsx-1.4.9/QXlsx -I/home/gwyn/fedora/git/QXlsx/QXlsx-1.4.9/redhat-linux-build/QXlsx_autogen/include -I/home/gwyn/fedora/git/QXlsx/QXlsx-1.4.9/QXlsx/../QXlsx/header -I/home/gwyn/fedora/git/QXlsx/QXlsx-1.4.9/QXlsx/header -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtGui/6.7.2 -isystem /usr/include/qt6/QtGui/6.7.2/QtGui -isystem /usr/include/qt6/QtCore/6.7.2 -isystem /usr/include/qt6/QtCore/6.7.2/QtCore -isystem /usr/include/qt6/QtGui -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT CMakeFiles/QXlsx.dir/source/xlsxworksheet.cpp.o -MF CMakeFiles/QXlsx.dir/source/xlsxworksheet.cpp.o.d -o CMakeFiles/QXlsx.dir/source/xlsxworksheet.cpp.o -c /home/gwyn/fedora/git/QXlsx/QXlsx-1.4.9/QXlsx/source/xlsxworksheet.cpp
/home/gwyn/fedora/git/QXlsx/QXlsx-1.4.9/QXlsx/source/xlsxworkbook.cpp: In member function ‘virtual bool QXlsx::Workbook::loadFromXmlFile(QIODevice*)’:
/home/gwyn/fedora/git/QXlsx/QXlsx-1.4.9/QXlsx/source/xlsxworkbook.cpp:610:51: error: ‘QString::QString(const char*)’ is private within this context
610 | if (relationship.target.startsWith("/")) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
In file included from /usr/include/qt6/QtCore/qobject.h:11,
from /usr/include/qt6/QtCore/qiodevice.h:10,
from /usr/include/qt6/QtCore/QIODevice:1,
from /home/gwyn/fedora/git/QXlsx/QXlsx-1.4.9/QXlsx/../QXlsx/header/xlsxglobal.h:11,
from /home/gwyn/fedora/git/QXlsx/QXlsx-1.4.9/QXlsx/../QXlsx/header/xlsxabstractooxmlfile.h:6,
from /home/gwyn/fedora/git/QXlsx/QXlsx-1.4.9/QXlsx/../QXlsx/header/xlsxworkbook.h:6,
from /home/gwyn/fedora/git/QXlsx/QXlsx-1.4.9/QXlsx/source/xlsxworkbook.cpp:3:
/usr/include/qt6/QtCore/qstring.h:979:5: note: declared private here
979 | QString(const char *ch);
| ^~~~~~~
gmake[2]: *** [CMakeFiles/QXlsx.dir/build.make:155: CMakeFiles/QXlsx.dir/source/xlsxworkbook.cpp.o] Error 1

@dantti
Copy link
Member

dantti commented Aug 12, 2024

please use master branch

@limburgher
Copy link
Author

Is there a set of patches that will apply to 1.4.9 I can use? If not we can wait for 1.4.10.

@FroggyElder
Copy link

I changed that line of code to if (relationship.target.startsWith(QLatin1String("/"))) { and it works for now.

@losg66
Copy link

losg66 commented Aug 28, 2024

I changed that line of code to if (relationship.target.startsWith(QLatin1String("/"))) { and it works for now.

hero!

@limburgher
Copy link
Author

Looks good here, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants