Qt5 on Trisquel 5.5

7 réponses [Dernière contribution]
Carlos G
Hors ligne
A rejoint: 02/20/2013

I am not able to find qt5 packages via synaptic. Can anyone please help me to update currently installed qt4 to qt5?

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

You probably do not want to do that. Many applications depend on Qt. A distribution is a coherent set of applications and libraries. If you update Qt, many applications, which depend on older (and, today, far more common) versions of Qt, would not work (or even be installable). Observe that Qt5 is not even included in Debian unstable (also known as sid, the name of the kid breaking toys in Toy Story).

The good reason to install Qt5 today is to develop software using it. I doubt it is what you want to do since you talk about replacing Qt4 with Qt5.

Carlos G
Hors ligne
A rejoint: 02/20/2013

So, how to try out software that needs it? I was looking towards updating qt only because of Sigil's prerequisites.

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

You could try to download Qt5 from there and follow the installation instructions.

Carlos G
Hors ligne
A rejoint: 02/20/2013

I had been there before starting this thread.
They got a huge 388mb binary bundle. Was asking about updating via synaptic, as i thought it will pull in just the essential stuff.

By the way, will it not break the current applications, as you said earlier?

Has anyone here tried Sigil on Trisquel?

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

As I wrote, there is not even a Qt5 package in Debian Sid's main repository, where most DEBs appear first. DEBs are APT's package format. Synaptic is a graphical interface to 'apt-get', which is, itself, a front-end to APT.

And, again, you do not want to "update" to Qt5. You want to install Qt5 alongside Qt4 (and maybe Qt3 if you are using applications still relying on it). Doing so will not raise any trouble w.r.t. your current system.

You can use this PPA to easily install Sigil on Trisquel and let it be managed by Synaptic. With Trisquel 5.5 (based on Ubuntu 11.10 Oneiric Ocelot), you will only get Sigil 0.5.3. With Trisquel 6.0 (based on Ubuntu 12.04 Precise Pangolin), you will get Sigil 0.7.0.

Are you sure Sigil depends on Qt5? It looks like it rather depends on Qt4.

Carlos G
Hors ligne
A rejoint: 02/20/2013

>> Are you sure Sigil depends on Qt5?

CMake Error at src/Sigil/CMakeLists.txt:38 (find_package):
By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5Core", but
CMake did not find one.

Could not find a package configuration file provided by "Qt5Core" with any
of the following names:

Qt5CoreConfig.cmake
qt5core-config.cmake

Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
"Qt5Core_DIR" to a directory containing one of the above files. If
"Qt5Core" provides a separate development package or SDK, be sure it has
been installed.

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

If the goal only is the use of Sigil then stick to the PPA.