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

qt.conf change unspecified path

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.15, 6.2
    • Fix Version/s: None
    • Component/s: Core: Other
    • Labels:
      None
    • Environment:

      any platform where we put the qt.conf inside the qrc:/qt/etc/qt.conf would do it, try to compile for both the mobile and desktop when debugging and you will feel the pain pretty quickly.

    • Platform/s:
      All
    • Technical Risk:
      Normal

      Description

      When using qt.conf to change some path likeĀ 

      Qml2Imports or Translations other unspecified path get modify (Plugins path). Making a file that change the translation and import path to the qrc files for both mobile and desktop is impossible, you have to have a specific file for desktop and mobile to repaire the others path you did not want to modify.

      That behaviour is painfull. Maybe we could have another file that overwrite only the specified values without touching the others, so we can change the Qml and translation to be fetch from the qrc without changing the plugins or library path.

        Attachments

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

          Activity

            People

            Assignee:
            docteam Qt Documentation Team
            Reporter:
            jeromegodboutamotus Jerome Godbout
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes