[Kstars-devel] How does one set the install prefix for QStandardPaths?
Jasem Mutlaq
mutlaqja at ikarustech.com
Sat Aug 16 06:46:31 UTC 2014
Here are more env variables that might be useful
KF5=/opt/project-neon5
MANPATH=/opt/project-neon5/share/man/:
NEONDIR=/opt/project-neon5
QML2_IMPORT_PATH=/opt/project-neon5/lib/x86_64-linux-gnu/qml:/opt/project-neon5/qml
QTDIR=/opt/project-neon5
CMAKE_LIBRARY_PATH=/opt/project-neon5/lib
LD_LIBRARY_PATH=/opt/project-neon5/lib:/opt/project-neon5/lib/x86_64-linux-gnu
KDEDIR=/opt/project-neon5
XDG_CONFIG_DIRS=/opt/project-neon5/etc/xdg:/etc/xdg/xdg-kde-plasma:/usr/share/upstart/xdg:/etc/xdg:/etc/xdg
PATH=/usr/games:/opt/project-neon5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/android/sdk/tools:/opt/android/sdk/tools
KDEDIRS=/opt/project-neon5
MONO_GAC_PREFIX=/opt/project-neon5
XCURSOR_PATH=/opt/project-neon5/share/icons
CMAKE_INCLUDE_PATH=/opt/project-neon5/include
CMAKE_INSTALL_PREFIX=/opt/project-neon5
XDG_DATA_DIRS=/opt/project-neon5/share:/usr/share:/usr/share/kde-plasma:/usr/local/share/:/usr/share/:/usr/share
PKG_CONFIG_PATH=/opt/project-neon5/lib/pkgconfig:/opt/project-neon5/lib/x86_64-linux-gnu/pkgconfig
CMAKE_PREFIX_PATH=/opt/project-neon5
QT_PLUGIN_PATH=/opt/project-neon5/plugins:/opt/project-neon5/lib/x86_64-linux-gnu/plugins:/opt/project-neon5/lib/x86_64-linux-gnu/plugins/kf5:/home/jasem/.kde/lib/kde4/plugins/:/usr/lib/kde4/plugins/
Regards,
Jasem
On Sat, Aug 16, 2014 at 9:44 AM, Jasem Mutlaq <mutlaqja at ikarustech.com>
wrote:
> Hi Akarsh,
>
> I believe it is suppose to pick it up from environment variables. With
> neon5, I just use neon5-env and all environment variables setup and ready,
> and then I can launch any KF5 apps from within the shell without any
> issues. Here are my environment variables:
>
> SESSION=kde-plasma
> XDG_DATA_HOME=/home/jasem/.project-neon5-kde//local/share
> KDEHOME=/home/jasem/.project-neon5-kde/
> KDEVARTMP=/var/tmp/project-neon5-kde-jasem
> DEFAULTS_PATH=/usr/share/gconf/kde-plasma.default.path
>
> XDG_CONFIG_DIRS=/opt/project-neon5/etc/xdg:/etc/xdg/xdg-kde-plasma:/usr/share/upstart/xdg:/etc/xdg:/etc/xdg
> DESKTOP_SESSION=kde-plasma
> GDMSESSION=kde-plasma
> XDG_CONFIG_HOME=/home/jasem/.project-neon5-kde//config
> XDG_CACHE_HOME=/home/jasem/.project-neon5-kde//cache
>
> XDG_DATA_DIRS=/opt/project-neon5/share:/usr/share:/usr/share/kde-plasma:/usr/local/share/:/usr/share/:/usr/share
> KDETMP=/tmp/project-neon5-kde-jasem
>
> QT_PLUGIN_PATH=/opt/project-neon5/plugins:/opt/project-neon5/lib/x86_64-linux-gnu/plugins:/opt/project-neon5/lib/x86_64-linux-gnu/plugins/kf5:/home/jasem/.kde/lib/kde4/plugins/:/usr/lib/kde4/plugins/
>
> Regards,
> Jasem
>
>
>
>
> On Fri, Aug 15, 2014 at 11:02 AM, Akarsh Simha <akarshsimha at gmail.com>
> wrote:
>
>> Hi folks
>>
>> Sorry to be asking what might be a newbie question, but I can't seem
>> to find out how to do this, so here goes.
>>
>> I'm installing the KF5 branch in some prefix. It installs fine, but it
>> cannot find any of its resources, which are in $PREFIX/share/kstars,
>> because QStandardPaths is looking for them in:
>> ~/.local/share/kstars
>> /usr/local/share/kstars
>> /usr/share/kstars
>> as reported by the error dialog (see my most recent commit for this
>> change).
>> How do I tell QStandardPaths to search my ${PREFIX}?
>>
>> Regards
>> Akarsh
>> _______________________________________________
>> Kstars-devel mailing list
>> Kstars-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/kstars-devel
>>
>
>
>
> --
> Best Regards,
> Jasem Mutlaq
>
>
--
Best Regards,
Jasem Mutlaq
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kstars-devel/attachments/20140816/b8861d84/attachment.html>
More information about the Kstars-devel
mailing list