Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. I can't get qt to work on Debian Linux
Forum Updated to NodeBB v4.3 + New Features

I can't get qt to work on Debian Linux

Scheduled Pinned Locked Moved Solved Installation and Deployment
12 Posts 3 Posters 1.9k 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.
  • S sparkie

    Hello,
    I have installed QT create to my Debian Linux PC through their package manager but cant see the examples. The package manager selected all qt packages for me. What directory should QT been installed in because i don't think that it has its own directory ie qt

    JonBJ Online
    JonBJ Online
    JonB
    wrote on last edited by
    #3

    @sparkie
    BTW, have you tried a command like

    locate | grep -i qt
    

    so you don't have to guess where likely files might be?

    kshegunovK 1 Reply Last reply
    1
    • JonBJ JonB

      @sparkie
      BTW, have you tried a command like

      locate | grep -i qt
      

      so you don't have to guess where likely files might be?

      kshegunovK Offline
      kshegunovK Offline
      kshegunov
      Moderators
      wrote on last edited by
      #4

      This would give you so many false positives, you wouldn't want to even consider it. However, after installing the qtbase5-examples package you can query the package manager where these files went (which is what I did, as I don't install the examples).

      Read and abide by the Qt Code of Conduct

      JonBJ 1 Reply Last reply
      2
      • kshegunovK kshegunov

        This would give you so many false positives, you wouldn't want to even consider it. However, after installing the qtbase5-examples package you can query the package manager where these files went (which is what I did, as I don't install the examples).

        JonBJ Online
        JonBJ Online
        JonB
        wrote on last edited by
        #5

        @kshegunov

        This would give you so many false positives, you wouldn't want to even consider it.

        Nonsense! That's what grep is for. Of course you can use this to discover where Qt has been installed, if you think guessing or doing a manual look-around is better, good luck!

        kshegunovK 1 Reply Last reply
        0
        • JonBJ JonB

          @kshegunov

          This would give you so many false positives, you wouldn't want to even consider it.

          Nonsense! That's what grep is for. Of course you can use this to discover where Qt has been installed, if you think guessing or doing a manual look-around is better, good luck!

          kshegunovK Offline
          kshegunovK Offline
          kshegunov
          Moderators
          wrote on last edited by
          #6
          $> locate grep -i qt | wc -l
          548793
          

          I rest my case.

          Read and abide by the Qt Code of Conduct

          JonBJ 1 Reply Last reply
          0
          • kshegunovK kshegunov
            $> locate grep -i qt | wc -l
            548793
            

            I rest my case.

            JonBJ Online
            JonBJ Online
            JonB
            wrote on last edited by
            #7

            @kshegunov
            That's because I never said you would do it in one grep. It was a start, fgs! For example, maybe qt5 would be better than qt? What about qt5$? Or qt[^/]*$? What about qt5/examples? Or do you think it's better to manually browse around the whole machine, or try to search the web for a post telling you exactly where this version of Qt will have put what on your machine? Sheesh, come on....

            kshegunovK 1 Reply Last reply
            0
            • JonBJ JonB

              @kshegunov
              That's because I never said you would do it in one grep. It was a start, fgs! For example, maybe qt5 would be better than qt? What about qt5$? Or qt[^/]*$? What about qt5/examples? Or do you think it's better to manually browse around the whole machine, or try to search the web for a post telling you exactly where this version of Qt will have put what on your machine? Sheesh, come on....

              kshegunovK Offline
              kshegunovK Offline
              kshegunov
              Moderators
              wrote on last edited by kshegunov
              #8

              Dude, that's what the package manager is for. You installed it through it, it already knows where the stuff is. Here:

              $> dpkg -L qtbase5-examples
              

              That's much harder than guessing the correct reg exp, right?

              Read and abide by the Qt Code of Conduct

              JonBJ 1 Reply Last reply
              1
              • kshegunovK kshegunov

                Dude, that's what the package manager is for. You installed it through it, it already knows where the stuff is. Here:

                $> dpkg -L qtbase5-examples
                

                That's much harder than guessing the correct reg exp, right?

                JonBJ Online
                JonBJ Online
                JonB
                wrote on last edited by JonB
                #9

                @kshegunov
                I wouldn't have known that the package was named qtbase5-examples. I have done what I always do, apt-get install qt5-default. Output from dpkg -L qtbase5-examples is dpkg-query: package 'qtbase5-examples' is not installed. Just saying. Other than that, I agree for a known package it gives much simpler output, I will try to remember that in future. It remains the case that locate is useful to know for all sorts of purposes though, IMHO; if nobody else finds it --- or the principle of searching by whatever means --- useful that's fine by me.

                BTW, your locate grep -i qt | wc -l gives 0.5 million, mine gives 9,000. Why Qt needs half million files no matter what you install is quite beyond me. The whole of my Ubuntu is only 350,000 files...

                kshegunovK 1 Reply Last reply
                0
                • JonBJ JonB

                  @kshegunov
                  I wouldn't have known that the package was named qtbase5-examples. I have done what I always do, apt-get install qt5-default. Output from dpkg -L qtbase5-examples is dpkg-query: package 'qtbase5-examples' is not installed. Just saying. Other than that, I agree for a known package it gives much simpler output, I will try to remember that in future. It remains the case that locate is useful to know for all sorts of purposes though, IMHO; if nobody else finds it --- or the principle of searching by whatever means --- useful that's fine by me.

                  BTW, your locate grep -i qt | wc -l gives 0.5 million, mine gives 9,000. Why Qt needs half million files no matter what you install is quite beyond me. The whole of my Ubuntu is only 350,000 files...

                  kshegunovK Offline
                  kshegunovK Offline
                  kshegunov
                  Moderators
                  wrote on last edited by
                  #10

                  @JonB said in I can't get qt to work on Debian Linux:

                  BTW, your locate grep -i qt | wc -l gives 0.5 million, mine gives 9,000. Why Qt needs half million files no matter what you install is quite beyond me. The whole of my Ubuntu is only 350,000 files...

                  I have at least four different Qt builds for one. Also this matches other files on my system, which is pretty full (4TB mostly junk).

                  Read and abide by the Qt Code of Conduct

                  JonBJ 1 Reply Last reply
                  0
                  • kshegunovK kshegunov

                    @JonB said in I can't get qt to work on Debian Linux:

                    BTW, your locate grep -i qt | wc -l gives 0.5 million, mine gives 9,000. Why Qt needs half million files no matter what you install is quite beyond me. The whole of my Ubuntu is only 350,000 files...

                    I have at least four different Qt builds for one. Also this matches other files on my system, which is pretty full (4TB mostly junk).

                    JonBJ Online
                    JonBJ Online
                    JonB
                    wrote on last edited by JonB
                    #11

                    @kshegunov 4TB??? My whole machine (Ubuntu OS, Qt, work) fits well inside 20GB. My original Sys V Unix box, with GUI, fitted inside 20MB (1MB RAM, multi-user). Wtf are you doing? ;-)

                    kshegunovK 1 Reply Last reply
                    0
                    • JonBJ JonB

                      @kshegunov 4TB??? My whole machine (Ubuntu OS, Qt, work) fits well inside 20GB. My original Sys V Unix box, with GUI, fitted inside 20MB (1MB RAM, multi-user). Wtf are you doing? ;-)

                      kshegunovK Offline
                      kshegunovK Offline
                      kshegunov
                      Moderators
                      wrote on last edited by
                      #12

                      Don't ask me no questions, I won't tell you no lies. Compulsively hoarding stuff I don't need I suppose. I have files 14+ years old ...

                      Read and abide by the 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