Hi
I use LMDE 64 bits and have all the latest updates. I use Cinnamon.
I have been for quite a long time a Sigil user. The incoming version of Sigil needs to be compiled for Linux. The new thing is that it also requires qt5.
http://www.mobileread.com/forums/showpo ... ostcount=1
What is the best way to install qt5? What are the recommended packages? On which repository?
Compiling a software using Qt5
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Compiling a software using Qt5
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Compiling a software using Qt5
Reading the documentation always helps.roger64 wrote:What is the best way to install qt5? What are the recommended packages? On which repository?
https://qt-project.org/wiki/Building_Qt_5_from_Git
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Re: Compiling a software using Qt5
Thank you very much.
Is there a recommended way for Debian users? I certainly will not compile qt5 to later compile Sigil, I just need to find the packages . This is the Sigil info. Bold typeface is mine.
Compiling on Linux
You will need to install Qt5 including, any dependencies and development packages if your distro provides separate dev packages. Also, many distros split the Qt packages into multiple subpackages so ensure you have all necessary parts installed.
It is assumed you want to generate Makefiles. You can do this by creating a new folder outside of the source distribution.
Now navigate to that folder with a terminal. Then type in and run the following:
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release /path/to/extracted/folder
make
sudo make install
That builds and installs Sigil on Linux. By default, Sigil is installed in ${CMAKE_INSTALL_PREFIX}/bin, with CMAKE_INSTALL_PREFIX defaulting to usr/local.
You can change the install location by running cmake like this:
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/new/install/prefix -DCMAKE_BUILD_TYPE=Release /path/to/extracted/folder
Building from source in the git repository is NOT recommended, since code in the git repository is not stable. Do not open a bug report against a non release version.
Is there a recommended way for Debian users? I certainly will not compile qt5 to later compile Sigil, I just need to find the packages . This is the Sigil info. Bold typeface is mine.
Compiling on Linux
You will need to install Qt5 including, any dependencies and development packages if your distro provides separate dev packages. Also, many distros split the Qt packages into multiple subpackages so ensure you have all necessary parts installed.
It is assumed you want to generate Makefiles. You can do this by creating a new folder outside of the source distribution.
Now navigate to that folder with a terminal. Then type in and run the following:
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release /path/to/extracted/folder
make
sudo make install
That builds and installs Sigil on Linux. By default, Sigil is installed in ${CMAKE_INSTALL_PREFIX}/bin, with CMAKE_INSTALL_PREFIX defaulting to usr/local.
You can change the install location by running cmake like this:
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/new/install/prefix -DCMAKE_BUILD_TYPE=Release /path/to/extracted/folder
Building from source in the git repository is NOT recommended, since code in the git repository is not stable. Do not open a bug report against a non release version.
Re: Compiling a software using Qt5
There exists pre-compiled versions of qt5 libraries for Linux users.
http://qt-project.org/downloads
http://qt-project.org/downloads
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Compiling a software using Qt5
https://qt-project.org/downloads/roger64 wrote:Building from source in the git repository is NOT recommended, since code in the git repository is not stable. Do not open a bug report against a non release version.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.