Error in Kdesrc-Build Page
nate at kde.org
Fri Dec 20 15:23:34 GMT 2019
On 12/19/19 9:08 PM, Kartik Ramesh wrote:
> Greetings Sir/Madam,
> I'm looking to contributing to the KDE platform, and I was going through
> the KDE Community website, which is extremely helpful. However, on the
> Get Involved/development page
> (https://community.kde.org/Get_Involved/development#Set_up_kdesrc-build), I
> feel there's an error in the subheading *Setup QT. *It explains:
> If your Linux distribution provides a recent version of Qt (5.11 or
> newer), you can save some time and disk space and use that version
> instead of building your own. To configure |kdesrc-build| to skip
> building Qt, open the configuration file |~/.kdesrc-buildrc| and
> comment out the |qtdir| and two |include| lines related to qt5.
> It isn't correct to comment out the qtdir line in ~/.kdesrc-buildrc,
> instead the qtdir line should be set to the appropriate path where qt
> has been installed on your computer.
> For eg. it should look like:
> qtdir ~/Qt/5.12.6/gcc_64 # Where to find Qt5
> It has been correctly explain to comment out the include lines, however
> we shouldn't comment out the qtdir line. I guess that might work if Qt
> has been installed in the default usr/lib directory, but explaining how
> to set the qtdir path, can help a lot of people solve cmake and qt
> errors during build (which I faced extensively).
Hmm, I'm not sure this is correct. When the qtdir line in the config
file is commented out, kdesrc-build simply uses the system-provided Qt
at the default location. Assuming the Qt installation at that patj is
working for running software, it should also work for compiling it.
If you've faced problems with using kdesrc-build, it would be be more
helpful to first explain those problems rather than starting by
proposing a solution.
More information about the kde-www