Code Monkey home page Code Monkey logo

Comments (6)

petitlapin avatar petitlapin commented on July 18, 2024

Hi,

Do you have more information like the OS, Qt version, compilation log?

Thank you,

Johnny

from gcompris-qt.

patricmutwiri avatar patricmutwiri commented on July 18, 2024

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.

petitlapin avatar petitlapin commented on July 18, 2024

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.

patricmutwiri avatar patricmutwiri commented on July 18, 2024

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.

petitlapin avatar petitlapin commented on July 18, 2024

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.

petitlapin avatar petitlapin commented on July 18, 2024

Hi, closing the issue as it seems to be a problem of Qt version

from gcompris-qt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.