No examples in the new QtCreator welcome page

There are no examples in the new QtCreator welcome page.

Steps I took:

  • Checked: I have qt6-doc and qt6-examples installed.
  • Searched the internet. Usually this problem is solved by selecting the right qmake version. So I checked the Kit preference selection, where the version of qmake selected was /usr/bin/qmake, (which was just link to the file /usr/bin/qmake5 in the same directory). I thought, it has wrongly selected the qt5 version. So, I deleted it from the qtcreator Kit window and manually selected /usr/lib/qt6/bin/qmake (which is a link to /usr/lib/qt6/bin/qmake6.)

Now on the main welcome page, kit is showing as qt6, but still no examples.
Thanks in advance.

If you cannot see any examples, check that the list of Qt versions (2) is not empty. If you select a Qt for Android or iOS, you can only see the examples that run on Android or iOS. —> Source of quote.

https://doc.qt.io/qtcreator/creator-build-example-application.html

You probably need to change the permissions on the example files
sudo chown -R +rx /path/to/QT6.x.x//examples

qt versions are already chosen.

image

1 Like

Already file permissions are there.

image

1 Like

It looks like you need to type the example type your looking for in the search box.

ie if you type android it will give you the examples for mobile

categories listed here: https://doc.qt.io/qt-6/qtexamplesandtutorials.html#running-the-examples

1 Like

It is not letting me type anything. Also, if things work normally, the page is filled with gallery like view of all projects. Search bar is there to filter the view.

Do you have this package installed?
https://archlinux.org/packages/extra/any/qt6-doc/

should look like this:

I couldn’t find any app-specific requirements on the OS side. So maybe your EndevavourOS is missing something for it to display correctly?
Are you sure, you installed all it’s dependencies for Arch Linux?
See:
https://archlinux.org/packages/extra/x86_64/qtcreator/

Also, there exists a package, qtcreator-devel:
https://archlinux.org/packages/extra/x86_64/qtcreator-devel/

I have cleaned up this topic. Please focus this topic on helping the OP with the issue they are having.

If you aren’t familiar with the issue or don’t have anything constructive to add, please don’t post.

1 Like

I see the same issue as you on my install. Installing the qt5 examples has them show up in qtcreator but not the qt6 examples.

A quick search shows multiple people reporting the issue on Arch-based distros but no posted solutions.

I have added a bug report in Arch bug tracker, for package qt6-examples.

Greetings fellow Linux enthusiasts,

The package maintained acted very fast and updated the package. Now the qt6-examples are visible on the welcome page of qtcreator.

I’ve been a proud user of Linux since 2001 when I acquired my first PC. Back then, having a PC was a rare occurrence within my modest socio-economic community in India. Intrigued by the concept of Linux, I managed to gather two black CDs of Red Hat Linux and later obtained a green box of SUSE Linux.

Throughout my journey, I’ve come to understand the collaborative nature of the Linux ecosystem. Open-source developers dedicate their time and expertise to crafting the actual software, while distro maintainers meticulously package it for final use. In relation to a recent issue I encountered, I initially sought assistance through the forum. Eventually, I connected with the diligent distro package maintainer who promptly addressed the problem by releasing an update.

I’m grateful for the collective effort and support within the Linux community, which enables us to resolve any hurdles we encounter along our Linux journeys.

Allow me to share a bit more about myself. I pursued Computer Science Engineering from 2001 to 2005, and later completed my MBA at the prestigious Indian Institute of Management, Ahmedabad, from 2007 to 2009. With a passion for Linux, I have been an avid user since 2001 when I acquired my first PC.

While my technical skills are valuable, I am also keen to contribute to the Linux community in non-technical capacities, such as creating written public notifications and other similar endeavors. I strongly believe that effective communication plays a vital role in fostering a vibrant and inclusive Linux ecosystem.

With this in mind, I kindly request the Endeavour OS community to consider allowing me to contribute in my own unique way. I am eager to utilize my skills and passion to enhance the Linux experience for users worldwide.

Thank you for your attention and support.

Best regards,
Abhishek Barua

4 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.