Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-6752

Font path in QTE cross-compilation and installation

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 4.6.0
    • None
    • Host: Current x86 Gentoo Linux
      Target: Linux 2.6.22, vendor provided mipsel-linux-gnu toolchain

    Description

      Configuring qt-everywhere in a cross-compilation environment requires the prefix to be set to the actual installation path on the host machine, else qmake doesn't find tools and libs because it's looking for them in the (hardcoded) prefix path, and furthermore providing a relocation path for the libraries: "-prefix <local_qt_install_dir> -R /usr/local".
      In this case the path to the font lib is hardcoded into the libs as "<local_qt_install_dir>/lib/fonts/" and needs to be overridden by an appropriate qt.conf for the apps on the target. Alternatively qte can be configured with the target prefix, and an appropriate qt.conf must be provided in the bindir on the host.
      I suggest to either make the font path configurable separately (option "-fontdir <dir>"), or using the path given with the -R option by default, so a qt.conf isn't necessary. Otherwise this issue must be covered in the docs for qte cross-compilation to avoid hours of research and trial-and-error.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tvete Paul Olav Tvete
            murphy.gebert Martin Gebert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes