Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. Install Qt 5 on Ubuntu - problem - ~/.local/share/applications
Forum Updated to NodeBB v4.3 + New Features

Install Qt 5 on Ubuntu - problem - ~/.local/share/applications

Scheduled Pinned Locked Moved Unsolved Brainstorm
6 Posts 2 Posters 2.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Andrej
    wrote on last edited by
    #1

    Hello to everyone,

    I'm running Ubuntu 16.04 and I struggle at very first step - to install QT. It seems that this problem hasn't been discussed before so I decided to create a new topic.

    I follow this guide and I stumbled almost at its end.

    "Create a file named “Qt-Creator.desktop” and fill the file with the following...."

    DONE

    "Place this file in home .local/share/applications"

    DONE

    "Edit a file named "defaults.list" in the same directory. Add the following line...."

    PROBLEM

    There is no such file in that directory. I also searched for all other .local folders on my drive and it seems that I'm in the correct and the only one. The analogous problem occurs in the next stem where I'm asked to "open file mimeapps.list..." which is also not there. All I can see in the directory of concern can be previewed below.

    andrej@Andrej-M4800:~/.local/share/applications$ ls -a
    .   DigiaQt-qtcreator-community.desktop  Qt-MaintenanceTool.desktop
    ..  Qt-Creator.desktop
    

    I also tried to restart the machine, think about it for a couple of days on my own, google a lot but with no results. I would appreciate any ideas.

    Lastly, I'm new to QT and to this forum so I hope I've chosen the correct section to discuss this problem.

    Many thanks,

    Andrej

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Did you use the latest version available rather than the version pointed by the guide ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Andrej
        wrote on last edited by
        #3

        Hi, thanks.

        Yes, I did choose the latest version - Qt 5.9.2 - instead of the one in the tutorial.

        Screenshot here.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Take a look at this thread answer, you might be looking at the wrong place for that file.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Andrej
            wrote on last edited by
            #5

            SGaist, thanks for the idea. So if I'm correct, you suggest me to replace "applications" in the path ".local/share/applications" for something else. However, in the upper-level directory "share" I can't see any relevant folder as you can see below.

            andrej@Andrej-M4800:~/.local/share$ ls
            applications            kactivitymanagerd         totem
            evolution               keyrings                  Trash
            gegl-0.3                mime                      ubuntu-amazon-default
            gnome-software          nautilus                  unity-settings-daemon
            gsettings-data-convert  previews                  unity-webapps
            gvfs-metadata           recently-used.xbel        webkitgtk
            icc                     session_migration-ubuntu  zeitgeist
            icons                   sounds
            

            What is more, I even can't find any of the .list files mentioned in the guide anywhere in my PC.

            andrej@Andrej-M4800:~$ find -name "*.list"
            ./.config/mimeapps.list
            

            Any other ideas?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              You find command doesn't go through all of your machine just the curent folder, likely you home directory.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved