I can't get qt to work on Debian Linux
-
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 -
It doesn't have one directory. The examples are in
/usr/lib/x86_64-linux-gnu/qt5/examples
if you have installed the package that provides them (e.g.qtbase5-examples
). Creators's example page is disabled by the package maintainers I think, so you'd need to load them manually. -
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). -
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! -
@kshegunov
That's because I never said you would do it in onegrep
. It was a start, fgs! For example, maybeqt5
would be better thanqt
? What aboutqt5$
? Orqt[^/]*$
? What aboutqt5/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.... -
@kshegunov
I wouldn't have known that the package was namedqtbase5-examples
. I have done what I always do,apt-get install qt5-default
. Output fromdpkg -L qtbase5-examples
isdpkg-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 thatlocate
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... -
@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).