discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Qt Minimum Version Should Be 4.8

SP
Silas Parker
Thu, Jul 23, 2015 2:20 PM

Hi,

I've just tried building OpenSCAD on an old Fedora 14 installation which has
Qt 4.7.4.

This passes the check-dependencies.sh script, but OpenSCAD won't build as
the function QStringRef::lastIndexOf was added in Qt 4.8
(http://doc.qt.io/qt-4.8/qstringref.html#lastIndexOf), which is used in
src/LibraryInfoDialog.cc:48.

The full error message from GCC is:
src/LibraryInfoDialog.cc: In member function 'void
LibraryInfoDialog::update_library_info(const QString&)':
src/LibraryInfoDialog.cc:48:39: error: 'class QStringRef' has no member
named 'lastIndexOf'

I'll install it on a different PC, just thought you might be interested in
this.

Thanks,
Silas

--
View this message in context: http://forum.openscad.org/Qt-Minimum-Version-Should-Be-4-8-tp13267.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Hi, I've just tried building OpenSCAD on an old Fedora 14 installation which has Qt 4.7.4. This passes the check-dependencies.sh script, but OpenSCAD won't build as the function QStringRef::lastIndexOf was added in Qt 4.8 (http://doc.qt.io/qt-4.8/qstringref.html#lastIndexOf), which is used in src/LibraryInfoDialog.cc:48. The full error message from GCC is: src/LibraryInfoDialog.cc: In member function 'void LibraryInfoDialog::update_library_info(const QString&)': src/LibraryInfoDialog.cc:48:39: error: 'class QStringRef' has no member named 'lastIndexOf' I'll install it on a different PC, just thought you might be interested in this. Thanks, Silas -- View this message in context: http://forum.openscad.org/Qt-Minimum-Version-Should-Be-4-8-tp13267.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
Michele
Thu, Jul 23, 2015 4:56 PM

That's interesting.  The script claims you just need Qt > 4.4.  I finally
managed to get a working copy of Qt 4.5.3 in my never-ending quest to build
Openscad for Solaris but have not gotten around to even trying the Openscad
build since I can't get either CGAL or OpenCSG to compile.  Thanks for
pointing that out.

--
View this message in context: http://forum.openscad.org/Qt-Minimum-Version-Should-Be-4-8-tp13267p13268.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

That's interesting. The script claims you just need Qt > 4.4. I finally managed to get a working copy of Qt 4.5.3 in my never-ending quest to build Openscad for Solaris but have not gotten around to even trying the Openscad build since I can't get either CGAL or OpenCSG to compile. Thanks for pointing that out. -- View this message in context: http://forum.openscad.org/Qt-Minimum-Version-Should-Be-4-8-tp13267p13268.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Thu, Jul 23, 2015 5:14 PM

On 07/23/2015 06:56 PM, Michele wrote:

That's interesting.  The script claims you just need Qt > 4.4.  I finally
managed to get a working copy of Qt 4.5.3 in my never-ending quest to build
Openscad for Solaris but have not gotten around to even trying the Openscad
build since I can't get either CGAL or OpenCSG to compile.  Thanks for
pointing that out.

The script checks against the versions specified in the Prerequisites
section of the README.md (listed on https://github.com/openscad/openscad/
a bit down on the page).

If it's just that single method which causes the issue, it's probably
easy to fix so Qt4.4 would still be usable.

As there is no such thing as an automated regression build against the
oldest "supported" library version, it's hard to prevent this type of
issues.

ciao,
Torsten.

On 07/23/2015 06:56 PM, Michele wrote: > That's interesting. The script claims you just need Qt > 4.4. I finally > managed to get a working copy of Qt 4.5.3 in my never-ending quest to build > Openscad for Solaris but have not gotten around to even trying the Openscad > build since I can't get either CGAL or OpenCSG to compile. Thanks for > pointing that out. > The script checks against the versions specified in the Prerequisites section of the README.md (listed on https://github.com/openscad/openscad/ a bit down on the page). If it's just that single method which causes the issue, it's probably easy to fix so Qt4.4 would still be usable. As there is no such thing as an automated regression build against the oldest "supported" library version, it's hard to prevent this type of issues. ciao, Torsten.