On Sun, Jul 10, 2016 at 11:21 AM, Nilesh Kokane
<nilesh.kokan...@gmail.com> wrote:
> On Sun, Jul 3, 2016 at 9:47 PM, Thiago Macieira <thi...@kde.org> 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 <harishnav...@gmail.com>
>> wrote:
>>> > 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
>> /home/tjmaciei/obj/qt/qt5/qtbase/bin
>> /home/tjmaciei/obj/qt/qt5/qtbase/lib
>
> I tried doing that. With Qt (v5.7.0) installed from source in /opt/qt:
>
> $ cat ~/.config/qtchooser/5.conf
> /opt/qt/bin
> /opt/qt/lib
>
>
> And with env variables :
> export KF5=~/kde
> export QTDIR=/opt/qt
> export CMAKE_PREFIX_PATH=$KF5:$CMAKE_PREFIX_PATH
> export XDG_DATA_DIRS=$KF5/share:$XDG_DATA_DIRS:/usr/share
> export XDG_CONFIG_DIRS=$KF5/etc/xdg:$XDG_CONFIG_DIRS:/etc/xdg
> export PATH=$KF5/bin:$QTDIR/bin:$PATH
> export 
> QT_PLUGIN_PATH=$KF5/lib/plugins:$KF5/lib64/plugins:$KF5/lib/x86_64-linux-gnu/plugins:$QTDIR/plugins:$QT_PLUGIN_PATH
>
> With the above configuration. I trigger kdesrc-build:
> ./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[1].
>
>
> And after that all the following modules succeed until kdelibs fails
> with[2]. And after that all the modules fails to build.
>
> Can anyone suggest on this.
>
>
> [1]. https://paste.kde.org/pjzxhs1ie
> [2]. https://paste.kde.org/p1lsmmmwl

   [3]. https://paste.kde.org/ptr19huoc (cat ~/.kdesrc-buildrc)


-- 
                         Nilesh Kokane

Reply via email to