view
Tweet
hifi: #20209 qt5 compilation error
  • Creator: MirceaKitsune
  • Designer: Not funded
  • Developer:Not assigned

The latest GIT version of High Fidelity does not compile, although cmake finds all relevant qt5 packages and configuration succeeds. I attached my build log below. openSUSE 13.2 x64, qt5 5.3.2.

Comments & Activity

  • 4 yrs, 2 mnths ago

    #20209 created by MirceaKitsune Status set to Suggestion.

  • 4 yrs, 2 mnths ago

    #20209 updated by MirceaKitsune Changes: Labels updated: Qt.

  • 4 yrs, 2 mnths ago

    #20209 updated by MirceaKitsune Changes: Labels updated: Qt, C++.

  • 4 yrs, 2 mnths ago

    #20209 updated by MirceaKitsune Changes: Labels updated: Qt, C++, Linux.

  • I was told that this might be related to cmake not telling the difference between qt4 and qt5 packages. This seems unlikely however... because my distribution places qt4 in /foo/bar/qt and qt5 in /foo/bar/qt5, while all qt paths point to qt5 directories explicitly.

    I also spoke about this with someone on the gitter.im service, but no luck. They recommended setting "QT_CMAKE_PREFIX_PATH = /usr/lib64/cmake/Qt5/" (my path) but no changes. I also tried "make domain-server" which also fails the same way.
  • Which version of qt5 did you install. We require 5.3.2
  • openSUSE 13.2 comes with qt5.3.2, so I have that exact version.
  • 4 yrs, 2 mnths ago

    MirceaKitsune uploaded an attachment to #20209

  • I found the problem and the solution: Uninstalling the qt4 development package (libqt4-devel) removes the error, and HighFidelity compiles properly. This is very bizarre, since qt4 places everything in /foo/bar/qt/ while qt5 puts its stuff in /foo/bar/qt5/... so I don't see how a conflict was possible.

    Thankfully no software I compile on my machine requires qt4, so I can leave this package out. But other people might require both qt4 and qt5 packages, and would have a serious problem.

    Can someone make sure it's not an issue in HIFI's cmake settings? If not, this is probably a problem with qt or openSUSE's packaging, so this can be closed.
  • 4 yrs, 1 mnth ago

    #20209 updated by Otto. Status set to Pass

Labels Saved!

Bids

Login to bid
Who Amount Done in ...
No bids yet.