Qt 5 General examples?
Qt: 5.0, built from Git source
OS: Linux (Ubuntu 12.10)
Can someone post where to find the general examples for Qt5? They don't appear to be in the repository tree.
I pulled over the Qt4 examples and am trying to build them (examples/widgets/calendarwidget, for instance), but am getting errors.
Is there a wiki on this or some changed procedure information to get the examples?
Check the "Qt Examples And Tutorials section of Qt 5 documentation":http://qt-project.org/doc/qt-5.0/qtdoc/qtexamplesandtutorials.html
Yes, that shows the examples, but it doesn't explain where to get them. I'd like to get the example tree, not look at example writeups.
They're difficult to find. I've been looking for 30 minutes and only find html examples and writeups and the qt5 opensource download don't have them built in.
Found them. You need to download them one file at a time from their directories. (I think)
I spoke too soon. You can download a tar called stable and uncompress it. It's on the right side of the page.
did you check the individual git repos (like qtbase), it seems to have an example dir.
Thats where I would expect them ;)
I had this problem and it was because I did not have permissions to the examples file in the Qt directory. for me the solution was to take ownership of the examples folder:
sudo chown -R <username>:<username> /opt/Qt/5.1.1/gcc_64/examples
where <username> is your username and /opt/Qt/5.1.1/gcc_64/examples is the directory of my examples.
Hope that helps you