Support for Qt-5.9.1

Use this forum for all posts and questions about the free QCAD Community Edition version 3

Moderator: andrew

Post Reply
sagitter
Active Member
Posts: 25
Joined: Mon Dec 05, 2016 12:31 pm

Support for Qt-5.9.1

Post by sagitter » Mon Jul 31, 2017 5:54 pm

Hi all.

Can you add support for Qt-5.9.1, please?

QCad cannot be compiled with qt-5.9.1 currently:

Code: Select all

+ cd qcad-3.17.3.1
+ /usr/lib64/qt5/bin/qmake -makefile CONFIG+=release qcad.pro 'QMAKE_CFLAGS_RELEASE=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include/quazip5 -I/usr/include/qt5/QtUiTools' 'QMAKE_CXXFLAGS_RELEASE=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include/quazip5 -I/usr/include/qt5/QtUiTools' 'QMAKE_LFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed' 'LFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed'
Info: creating stash file /builddir/build/BUILD/qcad-3.17.3.1/.qmake.stash
Info: creating cache file /builddir/build/BUILD/qcad-3.17.3.1/.qmake.cache
+ make -j2
cd src/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake -o Makefile /builddir/build/BUILD/qcad-3.17.3.1/src/src.pro CONFIG+=release 'QMAKE_CFLAGS_RELEASE=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include/quazip5 -I/usr/include/qt5/QtUiTools' 'QMAKE_CXXFLAGS_RELEASE=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include/quazip5 -I/usr/include/qt5/QtUiTools' 'QMAKE_LFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed' 'LFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed' ) && make -f Makefile 
make[1]: Entering directory '/builddir/build/BUILD/qcad-3.17.3.1/src'
cd 3rdparty/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake -o Makefile /builddir/build/BUILD/qcad-3.17.3.1/src/3rdparty/3rdparty.pro CONFIG+=release 'QMAKE_CFLAGS_RELEASE=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include/quazip5 -I/usr/include/qt5/QtUiTools' 'QMAKE_CXXFLAGS_RELEASE=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include/quazip5 -I/usr/include/qt5/QtUiTools' 'QMAKE_LFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed' 'LFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed' ) && make -f Makefile 
Project ERROR: Script bindings not available for Qt version 5.9.1. You can add them to src/3rdparty/qt-labs-qtscriptgenerator-5.9.1 or use another version of Qt.
make[1]: *** [Makefile:58: sub-3rdparty-make_first-ordered] Error 3

sagitter
Active Member
Posts: 25
Joined: Mon Dec 05, 2016 12:31 pm

Re: Support for Qt-5.9.1

Post by sagitter » Sat Aug 05, 2017 11:00 am

Can you add support for Qt-5.9.1, please?
Is this a reasonable request?

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: Support for Qt-5.9.1

Post by andrew » Mon Aug 07, 2017 8:53 pm

I'm currently travelling and unable to add / test a new Qt version.

You might be able to add it by yourself by adding the appropriate src/3rdparty/qt-labs-qtscriptgenerator-5.9.1 directory and .pro file.

Post Reply

Return to “QCAD Community Edition”