Skip to content

Update qt5 5.10.1 to 5.12.4 incl support #1195

Merged
merged 15 commits into from
Aug 13, 2019

Conversation

thomas
Copy link
Collaborator

@thomas thomas commented Aug 12, 2019

Checked with Rstudio builds, qgis, and older existing binaries.
In 2020 we expect Qt6 :)

Update procedure (mind the lib lib64 trap):
bee update qt5
bee remove qtwebkit-5.212-0.x86_64
bee install qtwebkit-5.212-1.x86_64
bee update qwt
bee install QScintilla
bee update qtlinks

Version 5.13 is already available, but might cause
initial troubles with accompanying tools/packages.
This might be helpful if the unfortunate webkit history
starts to repeat.
Since they aren't installed, there is no need to build
them. (As a side effect the size of the build archive is
halved :)
The 'latest' part in the former download URL is way bogus,
since it seems that the webkit version won't increase any
more and only the timestamps relate to the current patchlevel.
For some reason the bee magic doesn't work here, so
call make by hand.
Note:

QWT is nowadays an extension for QT5. The old libs
'libqwt' and 'libqwtmathml' will be removed since they are
unused in the system. IMHO packages (if any) still using
the former qwt should be fixed inplace.
Resulting changes summarized:

  +/usr/local/bin/qdistancefieldgenerator
  -/usr/local/bin/qhelpconverter
  +/usr/local/bin/qmlpreview

  +/usr/local/lib/pkgconfig/Qt5PositioningQuick.pc
  +/usr/local/lib/pkgconfig/Qt5QuickTemplates2.pc
  +/usr/local/lib/pkgconfig/Qt5VirtualKeyboard.pc

  -/usr/local/lib/libqwt.so
  -/usr/local/lib/libqwtmathml.so
  +/usr/local/lib/libQt5PositioningQuick.so
  +/usr/local/lib/libQt5QuickShapes.so
  +/usr/local/lib/libQt5VirtualKeyboard.so
  +/usr/local/lib/libqscintilla2_qt5.so
  +/usr/local/lib/libqwt.so
It looks like distros start installing old Qt4 stuff with
fours attached.

This one works like charme with cmake.

Another note on cmake:
Since the *.cmake files from Qt5 can't be moved into the
cmake context it is usually helpful to define

  CMAKE_PREFIX_PATH=/usr/local/qt5/lib/cmake
@@ -13,6 +13,8 @@ mee_install() {

# qt4

ln -s /usr/local/qt4/bin/qmake $D/usr/local/bin/qmake4
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you need a QMake symlink, it shouldn’t be created in the qtlinks package.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you overlook this comment?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kinda, because it's somewhere in the middle of the page.
Also it makes no sense to me -- qmake is part of qt, and this package provides links to qt-stuff.

@pmenzel
Copy link
Collaborator

pmenzel commented Aug 12, 2019

How do I start QScintilla?

@thomas
Copy link
Collaborator Author

thomas commented Aug 13, 2019

How do I start QScintilla?
QScintilla is a widget package, it's used in an application.

@thomas thomas closed this Aug 13, 2019
@thomas thomas reopened this Aug 13, 2019
@thomas thomas merged commit 4499b08 into master Aug 13, 2019
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants