[SOLVED] ruby-qml installation

Attempting to add the qml gem ruby using the command as regular user
getting following error
I feeel that Ia mmissing some qt5 files. Thanks for your help.
- Code: Select all
gem install qml
getting following error
- Code: Select all
current directory: /home/USER/.gem/ruby/2.5.0/gems/qml-1.0.2/ext/qml
/usr/bin/ruby -r ./siteconf20200428-17005-1nticnd.rb extconf.rb
checking for qmake... yes
>>> building libqmlbind...
Project MESSAGE: Warning: unknown QT: qml
Project MESSAGE: Warning: unknown QT: quick
Project MESSAGE: Warning: unknown QT: core-private
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQMLBIND_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -Iinclude -I. -o api_application.o src/api_application.cpp
make: g++: Command not found
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQMLBIND_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -Iinclude -I. -o api_engine.o src/api_engine.cpp
make: g++: Command not found
make: *** [Makefile:270: api_application.o] Error 127
make: *** Waiting for unfinished jobs....
make: *** [Makefile:278: api_engine.o] Error 127
ERROR: Failed to build libqmlbind
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/$(RUBY_BASE_NAME)
--with-qmake
--without-qmake
--enable-debug
--disable-debug
--enable-clean
--disable-clean
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/home/USER/.gem/ruby/2.5.0/extensions/x86-linux/2.5.0/qml-1.0.2/mkmf.log
extconf failed, exit code 1
I feeel that Ia mmissing some qt5 files. Thanks for your help.