John Smith
John Smith

Reputation: 3

MSYS2 Qt-creator examples not showing

I have installed qt-creator on windows 10 using msys2.

I installed packages according to https://wiki.qt.io/MSYS2

I had previously installed qt from the official site but the mingw version is too old and I'd rather not have two mingw versions installed.

I have existing C:\msys64\mingw64\share\qt5\examples folder but it seems there are some folders missing from C:\msys64\mingw64\share\qt5\doc compared to the official install. Maybe that has something to do with it.

So the question: Is there a specific package I need to install so that the examples show up in the qt-creator examples page or something else?

Upvotes: 0

Views: 2036

Answers (2)

user4497564
user4497564

Reputation:

The qt-creator in msys2 distribution do not have examples installed. The msys2 also do not have separate package for it.

But as what @user3930978 found. You can use example package from archlinux site for workaround.

But unfortunately, msys2 qt5 configured with "-nomake examples" parameter. You need to modify generated file. The easiest way is still to install qt5 and creator with official full pack.

Upvotes: 0

user3930978
user3930978

Reputation: 11

I found in this place https://www.archlinux.org/packages/extra/any/qt5-examples/ decompress with zstd -df qt5-examples-5.14.2-1-any.pkg.tar.zst and then tar xzf qt5-examples-5.14.2-1-any.pkg.tar the examples are saved in /usr/share/doc/qt/examp,es

Upvotes: 0

Related Questions