Comments (6)
Hi,
Do you have more information like the OS, Qt version, compilation log?
Thank you,
Johnny
from gcompris-qt.
Qt5.9.1/5.9.1/gcc_64/qml/Box2D $ make
g++ -c -m64 -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -IBox2D -I.moc -o .obj/box2dplugin.o box2dplugin.cpp
In file included from box2dplugin.cpp:28:0:
box2dplugin.h:29:31: fatal error: QQmlExtensionPlugin: No such file or directory
compilation terminated.
Makefile:1016: recipe for target '.obj/box2dplugin.o' failed
make: *** [.obj/box2dplugin.o] Error 1
from gcompris-qt.
I'm not sure why but it tries to compile with Qt4.8 instead of Qt5.
Can you share the CMakeCache.txt and the commands you typed (cmake ...) with the full log?
from gcompris-qt.
This is the CMakeCache file.
For build in directory: /home/patrick/Desktop/GCompris-qt
It was generated by CMake: /usr/bin/cmake
You can edit this file to change values found and used by cmake.
If you do not want to change any of the values, simply exit the editor.
If you do want to change a value, simply edit, save, and exit the editor.
The syntax for the file is as follows:
KEY:TYPE=VALUE
KEY is the name of a variable in the cache.
TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
VALUE is the current value for the KEY.
########################
EXTERNAL cache entries
########################
//No help, variable specified on the command line.
CMAKE_TOOLCHAIN_FILE:UNINITIALIZED=/usr/share/ECM/toolchain/Android.cmake
//No help, variable specified on the command line.
Qt5_DIR:UNINITIALIZED=
########################
INTERNAL cache entries
########################
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/home/patrick/Desktop/GCompris-qt
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=5
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.5
from gcompris-qt.
so yes, the error is that you don't compile with Qt5: Qt5_DIR:UNINITIALIZED=
Have you installed a Qt5 version? We have a page here to help install: http://gcompris.net/wiki/An_exercise_for_new_contributors
from gcompris-qt.
Hi, closing the issue as it seems to be a problem of Qt version
from gcompris-qt.
Related Issues (20)
- no sounds in Gnumch game HOT 4
- Windows installer doesn't create a shortcut in public desktop HOT 1
- Sync configuration HOT 3
- Multiple profiles HOT 1
- Enrich your vocabulary crashes HOT 4
- Installation On Android problem HOT 11
- Can't download external assets on Fire OS 5 HOT 4
- About Section is not Updated for 2021 - Copyright Not Updated.
- Raspberry Pi sound issues HOT 1
- gcompris-qt segfaults HOT 5
- black boxes instead of buttons HOT 9
- (Windows 7, 64bit) Font error, most of the material are unreadable HOT 21
- Debian 11 XFCE - Screen flickering HOT 3
- android app download audio: Handshake failed Code 6 HOT 3
- Background music do not play HOT 6
- Watercycle broken starting after 2.1 HOT 5
- Can't compile, missing qtquickcontrols2-5-private-dev package on Raspbian Bullseye (Debian 11) HOT 5
- Checksum of downloaded file does not match HOT 6
- Request: command-line option to disable manual level switch HOT 4
- Mouse "cursor" placement with multiple monitors HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gcompris-qt.