Where can I find Qt example code?
I am trying to save a little list with data to a file so I wanted to check out the Address Book Example:
At the bottom it says:
The tutorial source code is located in examples/tutorials/addressbook.
But I don't understand where that path is. Is it on the webpage, my drive or some git repo?
I can't find it anywhere.
It refers to your installation of Qt. For example my Windows machine has Qt installed in c:\Qt\ and the examples are in c:\Qt\Examples\Qt-5.9\
Just to make sure, you did install the examples from the maintenance tool?
I am working with QtCreator on a Raspberry with Raspbian.
Not sure about the maintenance tool. How can I check for that? Or what would I need to install to get the maintenance tool?
Is it not possible to download the examples somewhere online?
If it comes only with the installation, which package on linux would i need to download to get the examples?
Hi and welcome to devnet,
It depends on which examples you are interested in and the distribution you are using. For Debian, you have the QtBase examples in the qtbase5-examples package.
Thank you! Downloaded it there.
After that I realized the examples are also offered for download directly at the bottom in each section of the tutorial.
Maybe thats why I seemed to be the only one looking for them ;)
Since you have everything to continue learning now, please mark the thread as solved using the "Topic Tools" button so that other forum members may know a solution has been found :)