It should probably be disabled by default when CMAKE_INSTALL_PREFIX is set (to avoid this error), but it would make sense to make it default if CMAKE_INSTALL_PREFIX is not set (which requires to install as root). Don't know if it's easy to do that in cmake though.
cheers Etienne On Mon, May 19, 2014 at 1:16 PM, Rouzaud Denis <denis.rouz...@gmail.com>wrote: > 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 <rdmaili...@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 > > > > _______________________________________________ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer >
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer