Opened 8 years ago
Closed 8 years ago
#13197 closed Bug Report - General (Fixed)
MythTV 0.28.1 and 29.0 fail to build with Qt 5.10
| Reported by: | Owned by: | David Hampton | |
|---|---|---|---|
| Priority: | minor | Milestone: | 29.1 |
| Component: | MythTV - General | Version: | v29-fixes |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
I've tried both mythtv 0.28.1 and 29.0 with Qt 5.10.0. 0.28.1 built fine with Qt 5.9.3.
Building in dir: /usr/src/mythtv-fixes-29 mythtv 29.0 found qmake at /opt/qt5/bin/qmake but version failed got version: QMake version 3.1 Using Qt version 5.10.0 in /opt/qt5/lib qmake for Qt5.2 or newer not found.\nPlease specify the correct qmake with --qmake= If you think configure made a mistake, make sure that you are using the latest version of MythTV from git. If the latest version fails, report the problem to the mythtv-dev@mythtv.org mailing list or IRC #mythtv on irc.freenode.net Include the log file "config.ep" produced by configure as this will help solve the problem.
$ /opt/qt5/bin/qmake --version QMake version 3.1 Using Qt version 5.10.0 in /opt/qt5/lib
Other Qt-based packages build fine with this version of QMake
qtscript:5.10.0 qtbase:5.10.0 qtxmlpatterns:5.10.0 qtdeclarative:5.10.0 qtquickcontrols:5.10.0 qtwebkit:5.9.0
Attaching config.ep .
Attachments (1)
Change History (10)
comment:1 by , 8 years ago
| Milestone: | needs_triage → 29.1 |
|---|
follow-up: 3 comment:2 by , 8 years ago
The OP should try the patches from #13122 and report the results in that ticket.
comment:3 by , 8 years ago
Replying to anonymous@…:
The OP should try the patches from #13122 and report the results in that ticket.
I tried the patches qt510-configure-v2.patch, qt510-libs.patch, qt510-plugins.patch, and qt510-programs.patch from https://code.mythtv.org/trac/ticket/13122 and MythTV 29.1 now gets further along the compile path, but gives a new error
make[2]: Entering directory '/usr/src/mythtv-fixes-29/mythtv/programs/mythfrontend' ccache g++ -Wl,-rpath,/opt/qt5/lib -Wl,-rpath-link,/opt/qt5/lib -o mythfrontend main.o playbackbox.o viewscheduled.o audiogeneralsettings.o globalsettings.o manualschedule.o programrecpriority.o channelrecpriority.o statusbox.o networkcontrol.o mediarenderer.o mythfexml.o playbackboxlistitem.o custompriority.o exitprompt.o action.o actionset.o mythcontrols.o keybindings.o keygrabber.o progfind.o guidegrid.o customedit.o schedulecommon.o scheduleeditor.o backendconnectionmanager.o programinfocache.o proglist.o proglist_helpers.o playbackboxhelper.o viewschedulediff.o themechooser.o setupwizard_general.o setupwizard_audio.o setupwizard_video.o grabbersettings.o editvideometadata.o videofileassoc.o videometadatasettings.o videoplayercommand.o videopopups.o videofilter.o videolist.o videoplayersettings.o videodlg.o videoglobalsettings.o upnpscanner.o commandlineparser.o idlescreen.o gallerythumbview.o galleryslideview.o galleryconfig.o galleryviews.o galleryslide.o gallerytransitions.o galleryinfo.o frontend.o progdetails.o proginfolist.o moc_playbackbox.o moc_viewscheduled.o moc_globalsettings.o moc_audiogeneralsettings.o moc_manualschedule.o moc_programrecpriority.o moc_channelrecpriority.o moc_statusbox.o moc_networkcontrol.o moc_custompriority.o moc_exitprompt.o moc_mythcontrols.o moc_keygrabber.o moc_progfind.o moc_guidegrid.o moc_customedit.o moc_schedulecommon.o moc_scheduleeditor.o moc_backendconnectionmanager.o moc_proglist.o moc_proglist_helpers.o moc_viewschedulediff.o moc_themechooser.o moc_setupwizard_general.o moc_setupwizard_audio.o moc_setupwizard_video.o moc_grabbersettings.o moc_editvideometadata.o moc_videofileassoc.o moc_videometadatasettings.o moc_videopopups.o moc_videofilter.o moc_videoplayersettings.o moc_videodlg.o moc_upnpscanner.o moc_idlescreen.o moc_gallerythumbview.o moc_galleryslideview.o moc_galleryconfig.o moc_galleryslide.o moc_gallerytransitions.o moc_galleryinfo.o moc_frontend.o moc_progdetails.o moc_proginfolist.o -L../../libs/libmyth -L../../libs/libmythtv -L../../external/FFmpeg/libswresample -L../../external/FFmpeg/libavutil -L../../external/FFmpeg/libavcodec -L../../external/FFmpeg/libavformat -L../../external/FFmpeg/libswscale -L../../external/FFmpeg/libpostproc -L../../external/FFmpeg/libavfilter -L../../libs/libmythbase -L../../libs/libmythui -L../../libs/libmythupnp -L../../libs/libmythmetadata -L../../libs/libmythservicecontracts -L../../libs/libmythprotoserver -lmythswscale -lmythavformat -lmythswresample -lmythavutil -lmythavcodec -lmythpostproc -lmythavfilter -lmythtv-29 -lmythupnp-29 -lmythbase-29 -lmythui-29 -lmyth-29 -lmythmetadata-29 -lmythservicecontracts-29 -lmythprotoserver-29 -L../../libs/libmythfreemheg -lmythfreemheg-29 -L../../external/libhdhomerun -lmythhdhomerun-29 -L/usr/lib -ltag -lXext -lXinerama -lXxf86vm -lxml2 -lcrypto -lass -lvdpau -lxcb -lxcb-shm -lxcb-xfixes -lxcb-shape -lX11 -lasound -lfreetype -lx264 -lvpx -lm -llzma -lbz2 -lz -ludev -pthread -ldl -lGL -L/opt/qt5/lib -lQt5WebKitWidgets -lQt5OpenGL -lQt5Widgets -lQt5WebKit -lQt5Gui -lQt5Network -lQt5Xml -lQt5Sql -lQt5Script -lQt5DBus -lQt5Core -lpthread moc_globalsettings.o:(.data.rel.ro._ZTV30HostRefreshRateComboBoxSetting[_ZTV30HostRefreshRateComboBoxSetting]+0x138): undefined reference to `HostRefreshRateComboBoxSetting::ChangeResolution(StandardSetting*)' moc_globalsettings.o:(.data.rel.ro._ZTV17VideoModeSettings[_ZTV17VideoModeSettings]+0x98): undefined reference to `VideoModeSettings::updateButton(MythUIButtonListItem*)' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:488: mythfrontend] Error 1
follow-up: 5 comment:4 by , 8 years ago
Errors linking to mangled (decorated) names often indicates that one did not do a make clean and make distclean before building, or that some older library is being incorrectly referenced.
comment:5 by , 8 years ago
Replying to anonymous@…:
Errors linking to mangled (decorated) names often indicates that one did not do a make clean and make distclean before building, or that some older library is being incorrectly referenced.
Yep, but I started with a brand new build directory (wiped the old one away first). :) I don't know which library(ies) it's trying to reference, but if you do then I can provide the version(s) I have installed.
comment:7 by , 8 years ago
Replying to rsiddons:
You need xrandr enabled. It's a bug.
Installing and enabling xrandr (along with the above mentioned patches for Qt 5.10) allowed the compile to complete successfully, thanks! :)
comment:8 by , 8 years ago
| Owner: | set to |
|---|---|
| Status: | new → accepted |
comment:9 by , 8 years ago
| Resolution: | → Fixed |
|---|---|
| Status: | accepted → closed |
Fixed in master by 3d580948cf, in 29 by 771115f47d, and in 0.28 by ecae169e69.

Requested config.ep