Results 1 to 5 of 5

Thread: Couldn't find the examples.pri file

  1. #1
    Join Date
    Jul 2016
    Posts
    41
    Thanks
    2
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Couldn't find the examples.pri file

    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/qtdatavisualiz...e-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.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Couldn't find the examples.pri file

    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,
    _

  3. #3
    Join Date
    Jul 2016
    Posts
    41
    Thanks
    2
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Couldn't find the examples.pri file

    I selected it from welcome screen

  4. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Couldn't find the examples.pri file

    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,
    _

  5. #5
    Join Date
    Jul 2016
    Posts
    41
    Thanks
    2
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Couldn't find the examples.pri file

    Maybe find it in the Qt sources of your installation and open it from there?
    Done, but it did not solve my problem...

Similar Threads

  1. Couldn't link opencv with qt creator , this error happens
    By Being friendzoned sucks in forum Qt Programming
    Replies: 11
    Last Post: 4th May 2014, 00:39
  2. Replies: 1
    Last Post: 7th March 2013, 00:30
  3. Couldn't use SelectionListItem in QML??? :(
    By duc_bkav in forum Qt Programming
    Replies: 0
    Last Post: 18th November 2011, 08:20
  4. Replies: 6
    Last Post: 14th February 2011, 14:05
  5. Replies: 4
    Last Post: 20th September 2010, 10:42

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.