Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-32876

Cannot set RemoteLinux.SourceProfile from sdktool

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 16.0.1
    • All Other Issues
    • None
    • def5281f9 (17.0)

    Description

      When using sdktool addDev with extra key value pairs, the values are not used in QtCreator.

      Tools/sdktool/libexec/qtcreator/sdktool addDev     --id "LinuxDevice"     --name "Linux Device" --type 0  --host "10.10.10.10" --origin 1 --osType "GenericLinuxOsType" --uname root --authentication 0 RemoteLinux.So
      urceProfile bool:true 

      will create config xml file with:

          <valuemap type="QVariantMap">
      ...
           <value type="bool" key="RemoteLinux.SourceProfile">true</value>
          </valuemap> 

      Which does not enable the "Source /etc/profile and $HOME/.profile" checkbox in the UI.

      When manually enabling it, the config xml will have

          <valuemap type="QVariantMap">
      ...
           <valuemap type="QVariantMap" key="ExtraData">
            <value type="bool" key="RemoteLinux.SourceProfile">true</value>
           </valuemap>
          </valuemap> 

       

       

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-32876
        # Subject Branch Project Status CR V

        Activity

          People

            con Eike Ziller
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes