![]() Registered Member ![]()
|
Hello there! I am new here and plan to involve myself with KDE development..
The statement state here (https://community.kde.org/Get_Involved/development#Set_up_Qt) are making me confuse what todo next ![]() I using Fedora 32. I not sure if my step to check QT version are correct or not...
Based on dnf output, my qt are version 4.8.7.. the link https://community.kde.org/Get_Involved/ ... #Set_up_Qt said
ok.. so i need to build it right? but how?do step https://community.kde.org/Get_Involved/ ... esrc-build already do the job? please enlighten me. thank you |
![]() Registered Member ![]()
|
I prefer keeping a separated qt-build . You can get the source e.g. at https://download.qt.io/archive/qt/5.15/5.15.1/single/qt-everywhere-src-5.15.1.tar.xz and build it in a separate folder or install it as I did in /usr/local/Qt-5.15.1. Then edit your ~/.kdesrc-buildrc to use the correct path:
You can check if it is correctly set with
|
![]() Registered Member ![]()
|
i have ~/.kdesrc-buildrc (i did't do any modification yet)
so currently i get
I dont have good internet right now https://i.imgur.com/FqCVSbf.png i will download it first, extract and run kdesrc-build --query qtdir again. |
![]() Registered Member ![]()
|
Commentet out means it uses the system-qt. So there is no need to check as there is no custom qt and the results all would be empty. This is only valid in case you use a custom qt as in my example. You have to set up Qt first, then use kdesrc-build to build your wanted kde-package(s) against this custom qt. You may uncomment it anyway and set it to ~/wherever/qt/should/be/build/into. If kdesrc builds qt for you, that is the place where to put it. Defaults to ~/kde/qt5 as mentioned in the comment. |
![]() Registered Member ![]()
|
I download and extract qt-everywhere-src-5.15.1 to ~/kde/qt5/qt-everywhere-src-5.15.1/
I add new line
but when i execute the query, i get something like git error
1 ) i don't know why that git error happen... do i need special access to https://invent.kde.org/sysadmin/repo-metadata ? ( i read and check kdesrc-build script, unable to found it do what (pull / clone ?) on git. but surely i found a comment said about git stuff 2) may i ask you said "kdebuild-src" but that is typo right? 3) the qt , i did't do anything. just extract and put the location inside ~/.kdesrc-buildrc file. So do I also need to configure, make, make install ? (do it will interrupt my current installed qt?) |
![]() Registered Member ![]()
|
QT:
You missed to build it. It is not just a download. There is a lfs link explaining the details: http://www.linuxfromscratch.org/blfs/view/svn/x/qt5.html. Read it carefully as it is not a copy and paste thing and you have to adopt it to your distributions environment! Ensure that you do not overwrite your current Qt-Version as this could mess up your system. After successfully having compiled Qt you can switch over to the KDE-Stuff — or you comment the line in and let kdesrc get Qt for you (I think this will use Qt5.14 but I'm not quite sure about. You can have more than one Qt-Version installed at once, but you have to configure it manually, like you already tried in the ~/.kdesrc-buildrc If compiling Qt is too much for now, you can skip this step and just concentrate on a properly set up kde environment. If you are barely new to compiling and installing from source code packages, I would advise you to use a virtual machine for the first tries. You can e.g. easily install a KVM-machine using the virt-manager package. There you can choose a dsitribution with a more current release of Qt5 and just concentrate on the kde-part. The counter part is, that it will slow down compiling, depending on your system. KDE: Did you initialize your kdesrc like described here? Did you configure git as described on the page? The global git configuration should be in ~/.gitconfig on a default git-setup. Again: Read this page carefully.
Yes, sorry. We only need kdesrc-build and after successful having build the first application, kdesrc-run For now, forget running --query qtdir as it does not work until you get a running setup. Try setting up kdesrc and test with
|
![]() Registered Member ![]()
|
i was also looking for the setup, vidmate.app saveinsta
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]