User:Nmariusp: Difference between revisions
Add chapter How to install kde-builder |
Qt 6 installed using Qt online installer |
||
Line 28: | Line 28: | ||
./kde-builder --run kcalc | ./kde-builder --run kcalc | ||
./kde-builder frameworks | ./kde-builder frameworks | ||
</pre> | |||
=== Qt 6 installed using Qt online installer === | |||
The homepage of the Qt Framework is https://www.qt.io . Go to this web page, create an online account. https://www.qt.io/download-open-source > "Download the Qt Online Installer" > Linux > "Qt Online Installer for Linux (64-bit)" > download a file named e.g. qt-unified-linux-x64-4.6.1-online.run into the directory e.g. "~/Downloads". | |||
<pre> | |||
ls -la ~/Downloads # The downloaded file needs to hace the "executable" chmod bit set. | |||
chmod +x ~/Downloads/qt-unified-linux-x64-4.6.1-online.run | |||
~/Downloads/qt-unified-linux-x64-4.6.1-online.run | |||
</pre> | |||
Login using your Qt online account. Next > check the checkbox "I have read and agree to the terms and conditions of using OpenSource Qt", check the checkbox "I'm an individual and do not use Qt for any company" > Next > Next > enable "Help us improve" > Next > Custom installation, notice that the install directory is "~/Qt" > Next. Install the latest version of Qt6 and the latest version of the Qt Creator integrated development environment (IDE). There are some Qt6 components that are not used by KDE and can be left out when installing Qt6 e.g. WebAssembly, Android, Sources, Qt Quick 3D, Qt 3D, "Quick: 3D Physics", "Qt debug Information Files". | |||
In the KDE Plasma app launcher you now have the application "Qt Maintenance Tool". | |||
Set up kde-builder from scratch as usual. | |||
Edit the file kdesrc-buildrc to look like: | |||
<pre> | |||
global | |||
... | |||
qt-install-dir ~/Qt/6.6.0/gcc_64 # Where to install Qt6 if kdesrc-build supplies it | |||
libname lib | |||
... | |||
end global | |||
</pre> | |||
Make gpgme build: | |||
<pre> | |||
sudo su | |||
mkdir -p /home/qt/work | |||
chown -R username:username /home/qt/work | |||
ln -s /home/username/Qt/6.6.0/gcc_64 /home/qt/work/install | |||
ls -la /home/qt/work | |||
</pre> | </pre> |
Revision as of 07:19, 29 February 2024
How to install kde-builder
How to install kde-builder fast
mkdir -p ~/kde/src cd ~/kde/src git clone https://invent.kde.org/sdk/kde-builder.git cd kde-builder # Make sure that you have Python >= 3.12. python3 -m venv .venv # I use bash. source .venv/bin/activate pip install pipenv pipenv install ./kde-builder --initial-setup <<< 'N' mv ~/.config/kdesrc-buildrc . # Edit the file ./kdesrc-buildrc as needed. # kde-builder is installed. # Use ./kde-builder instead of ./kdesrc-build. The command lines are the same. ./kde-builder kconfig ./kde-builder kcalc ./kde-builder --run kcalc # Run kcalc with the KDE theme that is used by your KDE Plasma desktop. ./kde-builder plasma-integration ./kde-builder --run kcalc ./kde-builder frameworks
Qt 6 installed using Qt online installer
The homepage of the Qt Framework is https://www.qt.io . Go to this web page, create an online account. https://www.qt.io/download-open-source > "Download the Qt Online Installer" > Linux > "Qt Online Installer for Linux (64-bit)" > download a file named e.g. qt-unified-linux-x64-4.6.1-online.run into the directory e.g. "~/Downloads".
ls -la ~/Downloads # The downloaded file needs to hace the "executable" chmod bit set. chmod +x ~/Downloads/qt-unified-linux-x64-4.6.1-online.run ~/Downloads/qt-unified-linux-x64-4.6.1-online.run
Login using your Qt online account. Next > check the checkbox "I have read and agree to the terms and conditions of using OpenSource Qt", check the checkbox "I'm an individual and do not use Qt for any company" > Next > Next > enable "Help us improve" > Next > Custom installation, notice that the install directory is "~/Qt" > Next. Install the latest version of Qt6 and the latest version of the Qt Creator integrated development environment (IDE). There are some Qt6 components that are not used by KDE and can be left out when installing Qt6 e.g. WebAssembly, Android, Sources, Qt Quick 3D, Qt 3D, "Quick: 3D Physics", "Qt debug Information Files".
In the KDE Plasma app launcher you now have the application "Qt Maintenance Tool".
Set up kde-builder from scratch as usual.
Edit the file kdesrc-buildrc to look like:
global ... qt-install-dir ~/Qt/6.6.0/gcc_64 # Where to install Qt6 if kdesrc-build supplies it libname lib ... end global
Make gpgme build:
sudo su mkdir -p /home/qt/work chown -R username:username /home/qt/work ln -s /home/username/Qt/6.6.0/gcc_64 /home/qt/work/install ls -la /home/qt/work