Project ERROR: Unknown module(s) in QT: datavisualization - linux

I enabled the data visualization module in the maintenance tool while installing Qt but when I try adding datavisualization to the .pro file I get the error message as in the title. I'm not sure how to go about fixing this so could someone please help me out with this?
PS: I had also selected the checkbox for installing the charts module in the maintenance tool but that didn't work either. I had to run sudo apt install libqt5charts5 libqt5charts5-dev
for it to work

Deleting the old config folder Qt from ~/.config and re-installing Qt did the trick. Both QCharts and Qdatavisualization work flawlessly without any apt-get installation !

Related

installation problem - nodejs-lts (exited 1603) - Error while running 'C:\ProgramData\chocolatey\lib\nodejs-lts\tools\chocolateyinstall.ps1'

I'm trying to create an android emulator for react-native, but I'm having some trouble installing some packages when I type in this command: choco install -y nodejs-lts openjdk11
You will find the above command at the following website: https://reactnative.dev/docs/environment-setup
nodejs-lts won't install for some reason. Do I have to uninstall nodejs and install nodejs-lts instead? Here is a screenshot of the error:
Uninstall NodeJS manually and then run the command again.
source
check whether your system has C:\ProgramData,
If not that means its hidden which is causing the system to throw the error,
To fix-
It is generally not recommended to alter some system files-nevertheless.First of all
open File Explorer options from Control Panel
Then to View Tab.
Uncheck "Hide protected Operating system files" and click on "Show hidden files and folders"
Press Yes and then OK.
After this try to install it again and it'll work this time

Unable to run Gala window manager

I'm Elementary OS Luna (Ubuntu-based) user, and trying to do some tweaks I installed Gnome Tweaks Tool. After installing and running it, my computer got several problems.
All the windows were without borders and titlebars. Couldn't close, minimize, resize etc. I could solve it by running Compix and putting it as startup. But some good features of Elementary OS does not work with Compix, but just with Gala. And when I try to run Gala, this happens:
jefs#JefsPC:~$ gala --replace
(some css warnings, okey)
(gala:6103): GLib-GIO-ERROR **: Settings schema 'org.gnome.mutter' does not contain a key named 'center-new-windows'
Trace/breakpoint trap
jefrey#JefsPC:~$ _
I tried reinstalling elementary-desktop, removing gnome-tweaks-tool, reinstalling gala, installing and removing mutter and even going to /usr/share/glib-2.0/schemas/org.gnome.mutter.gschema.xml and putting that "center-new-windows" key manually, then restarting my computer. It made that key to show up on dconf editor, but Gala still not detecting it...
Is there something I can do to get Gala back?
Solved with apt-get upgrade && apt-get dist-upgrade

adding Doxygen plugin to qtcreator in linux

I want to add Doxygen plugin to QtCreator.
I am using QtCreator 2.5.2 in ubuntu 12.10 and the latest Doxygen version for QT is 2.4.0.
I've changed the doxygen.pluginspec file to get rid of version error.
But now I've got another error:
can not load library libdoxygen.so (libQtconcurrent.so can not open shared object file:No such file or directory)
Any suggestion would be appreciated.
I hope you are no longer stuck, but if not, I will still try to help.
Yes, the quick install binaries are available only for QtCreator 2.4, but the plugin stays easy to install without it : you have to download the sources and build them yourself, as written in the wiki.
Moreover, you have to build it with the same version of Qt4 as the one that was used for build your QtCreator (have a look here)
It became compatible with QtCreator 2.7 and Qt5 at the end of March, and I succeeded in installing in in QtCreator2.8-beta.
If you have any other question, I guess it would be better to ask them in the plugin forum where developpers always answer to people in need.
Hope this helps (you and other people in need).
You can install Doxywizard wich provides an user interface to use Doxygen.
I'm not shure I'm using fedora to install I used.
yum install doxygen-doxywizard.x86_64.
For Ubuntu it should be if the package name is the same.
apt-get install doxygen-doxywizard.x86_64
(as root)

How to install libjpeg-turbo8 on Ubuntu 12.0.4

As suggested by Google, I'm trying to get http://jpegclub.org/jpegtran/ working on my Ubuntu server, but I'm getting the error:
"jpegtran: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory"
A Google search told me to install (via apt-get) libjpeg-turbo8, however apt-get can't find the package. My own Ubuntu computer (running 12.0.10) can find the package just fine.
I tried installing http://sourceforge.net/projects/libjpeg-turbo/ with no luck.
Am I doing something wrong or have I missed something? How do I get jpegtran working?
This question may be old, but i was trying to run the glassfish updatetool and it failed because of the lack of the libjpeg library.
Steps i did take:
1. install libjpeg62:i386 (for 64 bit ubuntu amd6)
I hope it helps someone

Problem installing sqlite3-ruby on cygwin

I'm getting error while trying to install sqlite3-ruby gem:
gem install sqlite3-ruby-1.3.1.gem
Building native extensions. This could take a while...
ERROR: Error installing sqlite3-ruby-1.3.1.gem:
ERROR: Failed to build gem native extension.
/usr/bin/ruby.exe extconf.rb
Gem files will remain installed in /usr/lib/ruby/gems/1.9.1/gems/sqlite3-ruby-1.3.1 for inspection.
Results logged to /usr/lib/ruby/gems/1.9.1/gems/sqlite3-ruby-1.3.1/ext/sqlite3/gem_make.out
Same using:
gem install sqlite3-ruby-1.3.1
And that worked:
gem install sqlite3-ruby-1.3.1-x86-mswin32-60.gem
However I discovered I had had installed sqlite-ruby-1.2.5
Well my question is how 'gem' is installing these things? Why it can't choose sqlite3-ruby-1.3.1-x86-mswin32-60.gem version automatically. Does 'gem' is aware of running on linux or windows? What is native extension for it and why it is failing to install predownloaded sqlite3-ruby-1.3.1.gem
Thanks in advance
Lots of people seem to be having this issue. I'm surprised this doesn't work out of the box, as I would have guessed cygwin+ruby+sqlite is a supercommon configuration. Anyway. Many people concentrate on sqlite3.h, which is what appears are missing in the error output. However, my problem was that gcc wasn't installed correctly. Apparently gcc can fail to install correctly under cygwin. I fixed that and it was fine. Also, make sure you install libsql3-devel in cygwin.
I've been down this road before. I failed installing Ruby in Windows to work with Cygwin and I failed on Ubuntu.
What you do to save yourself the time and trouble is get a VM running with a Linux image (Fedora seemed to work well) and work with Ruby in that.

Resources