PDA

View Full Version : Couldn't find the examples.pri file



Blitzor DDD
28th September 2016, 20:02
I am using Qt Creator 4.0.3 Based on Qt 5.7.0 (GCC 4.9.1 20140922 (Red Hat 4.9.1-10), 64 bit)

and I tried to run this example: http://doc.qt.io/qt-5/qtdatavisualization-surface-example.html

but got an error: :-1: error: Couldn't find the examples.pri file! and I couldn't find in web solution of this problem..

It is like I have no such examples? How to include them painless into my system? Maybe there is an easy way to fix it.

anda_skoa
29th September 2016, 10:14
How do you try to "run this example"?

Did you select it from the QtCreator welcome screen?
Did you open the example's .pro file in your Qt sources directory in QtCreator?

Cheers,
_

Blitzor DDD
29th September 2016, 16:02
I selected it from welcome screen

anda_skoa
29th September 2016, 17:18
Hmm.

Maybe find it in the Qt sources of your installation and open it from there?

"examples.pri" (plural) sounds like it could be something in a parent directory of the respective example, i.e. something shared between examples.

Cheers,
_

Blitzor DDD
30th September 2016, 16:37
Maybe find it in the Qt sources of your installation and open it from there?
Done, but it did not solve my problem...