Re: [kdesrc-build]How do I point to the latest Qt
- Date: Sun, 10 Jul 2016 11:21:24 +0530
- From: Nilesh Kokane <nilesh.kokane05@xxxxxxxxx>
- Subject: Re: [kdesrc-build]How do I point to the latest Qt
On Sun, Jul 3, 2016 at 9:47 PM, Thiago Macieira <thiago@xxxxxxx> wrote:
> On domingo, 3 de julho de 2016 17:57:44 PDT Nilesh Kokane wrote:
>> On Sun, Jul 3, 2016 at 5:23 PM, R.Harish Navnit <harishnavnit@xxxxxxxxx>
>> > I don't have Qt built from sources, so I don't know for sure. But to
>> > switch
>> > between different versions of Qt that are provided by your distro, you
>> > would "export QT_SELECT=<desired_qt_version>
>> > " (without the quotes, of course).
>> I'm deliberately trying to link it to the Qt that is build from source
>> (v5.7.0). which I'm unable to do it.
>> Any clues?
> Follow the recommendations, but you need to create a configuration file for that
> self-built Qt first. For example, for me:
> $ cat ~/.config/qtchooser/5.conf
I tried doing that. With Qt (v5.7.0) installed from source in /opt/qt:
$ cat ~/.config/qtchooser/5.conf
And with env variables :
With the above configuration. I trigger kdesrc-build:
Updating qt (to branch v5.7.0)
git gave error exit code 128
git gave error exit code 1
Error updating qt, removing from list of packages to build.
> Unable to perform a git checkout of origin/v5.7.0 to a local branch of v5.7.0
Unable to update qt, build cancelled.
And after that all the following modules succeed until kdelibs fails
with. And after that all the modules fails to build.
Can anyone suggest on this.