[Qgis-developer] Cannot install libqgis_customwidgets.so
Rouzaud Denis
denis.rouzaud at gmail.com
Mon May 19 09:16:17 PDT 2014
Hi,
The libqgis_customwidgets is a new library which allow using specific QGIS widgets directly in Qt Designer (if compiled with Qt4).
Now, this lib needs to be in Qt plugin’s directory to work properly. So this will require to run make as install as root.
You can disable this by running cmake with -DWITH_CUSTOM_WIDGETS=FALSE
Regarding the second problem described by Richard it should be fixed. pyuic will not bug anymore, even if QGIS is not installed.
I don’t know what’s the best default value for this library installation.
But it might be better to reset it to false, if one wants that the default install can be run not being root.
Cheers,
Denis
On 19 May 2014, at 18:08, Richard Duivenvoorde <rdmailings at duif.net> wrote:
> On 19-05-14 17:08, Radim Blazek wrote:
>> I am getting:
>>
>> CMake Error at src/customwidgets/cmake_install.cmake:68 (FILE):
>> file INSTALL cannot copy file
>> "/home/radim/devel/qgis/build/output/lib/libqgis_customwidgets.so.2.3.0" to
>> "/usr/lib/x86_64-linux-gnu/qt4/plugins/designer/libqgis_customwidgets.so.2.3.0".
>>
>> it seems to ignore CMAKE_INSTALL_PREFIX.
>
> Hi Radim,
>
> I had the same problem. It has something to do with the customwidgets
> from QGIS. Actually making them available for designer.
>
> It is just changed from default not install to default install it.
> But (as you) I install only locally, so am not allowed to install .so
> files into the directory.
>
> So I ran 'sudo make install', BUT then you get another problem: there is
> a new dependecy now on qgis.gui module (which I do not have globally) so
> this breaks your pyqt. So I would not do this.
>
> Denis is aware of the problem, and looking for a solution.
>
> (For me part of the solution would be to NOT default do this
> installation into my global system.)
>
> Regards,
>
> Richard Duivenvoorde
>
More information about the Qgis-developer
mailing list