QQuickPaintedItem file not found on OSX #248

Open
opened 2015-06-04 03:33:55 +02:00 by brownnrl · 2 comments
brownnrl commented 2015-06-04 03:33:55 +02:00 (Migrated from github.com)

Following the installation instructions for OSX using brew gives the follow error upon running qmake && make.

In file included from lib/Session.cpp:44:
lib/TerminalDisplay.h:28:10: fatal error: 'QQuickPaintedItem' file not found
#include <QQuickPaintedItem>

Is there a further method for setting up the CPPFLAGS environment variable or related to include the QtQuick files on osx? For instance, I found a QQuickPaintedItem file located in /usr/local/opt/qt5/lib/QtQuick.framework/Versions/5/Headers. Specifying the include directory didn't seem to help though. Not sure how qmake/Qt sets up the search paths.

Any hints on this or how to set up?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/20241166-qquickpainteditem-file-not-found-on-osx?utm_campaign=plugin&utm_content=tracker%2F479407&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F479407&utm_medium=issues&utm_source=github).
Following the installation instructions for OSX using brew gives the follow error upon running `qmake && make`. ``` In file included from lib/Session.cpp:44: lib/TerminalDisplay.h:28:10: fatal error: 'QQuickPaintedItem' file not found #include <QQuickPaintedItem> ``` Is there a further method for setting up the `CPPFLAGS` environment variable or related to include the QtQuick files on osx? For instance, I found a `QQuickPaintedItem` file located in `/usr/local/opt/qt5/lib/QtQuick.framework/Versions/5/Headers`. Specifying the include directory didn't seem to help though. Not sure how qmake/Qt sets up the search paths. Any hints on this or how to set up? ## <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/20241166-qquickpainteditem-file-not-found-on-osx?utm_campaign=plugin&utm_content=tracker%2F479407&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F479407&utm_medium=issues&utm_source=github). </bountysource-plugin>
siberex commented 2015-07-06 17:58:06 +02:00 (Migrated from github.com)

Make sure you are using qmake from qt5 and not qt4.
For example, run it with full path:

$ cd cool-retro-term/
$ /opt/local/libexec/qt5-mac/bin/qmake
$ make
Make sure you are using qmake from qt5 and not qt4. For example, run it with full path: ``` $ cd cool-retro-term/ $ /opt/local/libexec/qt5-mac/bin/qmake $ make ```
itay-grudev commented 2017-05-25 14:34:24 +02:00 (Migrated from github.com)

I believe you can safely close this now. If anyone still has the issue, the easiest solution is to compile the project through QtCreator and manually set the Kit to Qt5 in the project settings.

I believe you can safely close this now. If anyone still has the issue, the easiest solution is to compile the project through QtCreator and manually set the Kit to Qt5 in the project settings.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seeseemelk/cool-retro-term#248
No description provided.