Re: [QGIS-Developer] Problem with 3D during compilation in debian sid

2018-04-10 Thread matteo
Hi Martin,

> That's quite disappointing. Removing it from packages after shipping
> several versions with it is a good recipe for breaking applications.
> 
> I wasn't aware of the fact that the Qt 3D Extras library was
> considered unstable. For QGIS 3.0 it is a bit late to do something,
> but for QGIS 3.2 we could copy files we use from Qt 3D Extras to QGIS
> and keep them until there is a Qt release with stable Qt 3D Extras
> release.

this sounds like a reasonable solution. Would it be a big amount of work
to do?

Thanks again

Matteo
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Problem with 3D during compilation in debian sid

2018-04-10 Thread Martin Dobias
On Tue, Apr 10, 2018 at 6:19 PM, Sebastiaan Couwenberg
 wrote:
>>
>> so in other words no 3D in debian sid right?
>
> Unfortunately yes, since QGIS 3.0.x requires Qt53DExtras. Perhaps it can
> be made optional or worked around in another way.

That's quite disappointing. Removing it from packages after shipping
several versions with it is a good recipe for breaking applications.

I wasn't aware of the fact that the Qt 3D Extras library was
considered unstable. For QGIS 3.0 it is a bit late to do something,
but for QGIS 3.2 we could copy files we use from Qt 3D Extras to QGIS
and keep them until there is a Qt release with stable Qt 3D Extras
release.

Cheers
Martin
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Problem with 3D during compilation in debian sid

2018-04-10 Thread matteo
> Unfortunately yes, since QGIS 3.0.x requires Qt53DExtras. Perhaps it can
> be made optional or worked around in another way.

damn! what a pity.. are there any chances to have a workaround for that?

Thanks for all these information

Matteo

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Problem with 3D during compilation in debian sid

2018-04-10 Thread Sebastiaan Couwenberg
On 04/10/2018 05:56 PM, matteo wrote:
>>> Filing a bugreport against src:qt3d-opensource-src asking about to
>>> missing Qt3DExtras headers is a good idea. It may be a bug that those
>>> files are no longer included in the package, the package changelog nor
>>> the upstream changes mention removing Qt3DExtras.
>>
>> Forget about reporting a bug, the Qt3DExtras headers were removed on
>> purpose:
>>
>>  
>> https://salsa.debian.org/qt-kde-team/qt/qt3d/commit/8e3cf88c8124fee940f2de1f8d3a54c48b1c53d1
> 
> so in other words no 3D in debian sid right?

Unfortunately yes, since QGIS 3.0.x requires Qt53DExtras. Perhaps it can
be made optional or worked around in another way.

Kind Regards,

Bas
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Problem with 3D during compilation in debian sid

2018-04-10 Thread matteo
Hi Bas,


>> Filing a bugreport against src:qt3d-opensource-src asking about to
>> missing Qt3DExtras headers is a good idea. It may be a bug that those
>> files are no longer included in the package, the package changelog nor
>> the upstream changes mention removing Qt3DExtras.
> 
> Forget about reporting a bug, the Qt3DExtras headers were removed on
> purpose:
> 
>  
> https://salsa.debian.org/qt-kde-team/qt/qt3d/commit/8e3cf88c8124fee940f2de1f8d3a54c48b1c53d1

so in other words no 3D in debian sid right?

thanks for the precious infos

Matteo
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Problem with 3D during compilation in debian sid

2018-04-10 Thread Sebastiaan Couwenberg
On 04/10/2018 05:40 PM, matteo wrote:
> Hi Bas,
> 
>>> Perhaps there were removed in the new qt3d-opensource-src
>>> (5.10.1+dfsg-3), note the ongoing transition:
>>>
>>>  https://bugs.debian.org/893523
>>
>> The Qt3DExtras includes are no longer included in qt3d5-dev, confirmed
>> with:
>>
>>  apt-file show qt3d5-dev | grep Qt3DExtras
> 
> many thanks for the answer. So no chance to have a clean build with
> Qt3DExtras until the bug is fixed right? Or did I misunderstand something?

You'll have to build QGIS without Qt3DExtras, yes

Filing a bugreport against src:qt3d-opensource-src asking about to
missing Qt3DExtras headers is a good idea. It may be a bug that those
files are no longer included in the package, the package changelog nor
the upstream changes mention removing Qt3DExtras.

 https://www.debian.org/Bugs/Reporting

Kind Regards,

Bas

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Problem with 3D during compilation in debian sid

2018-04-10 Thread matteo
Hi Bas,

>> Perhaps there were removed in the new qt3d-opensource-src
>> (5.10.1+dfsg-3), note the ongoing transition:
>>
>>  https://bugs.debian.org/893523
> 
> The Qt3DExtras includes are no longer included in qt3d5-dev, confirmed
> with:
> 
>  apt-file show qt3d5-dev | grep Qt3DExtras

many thanks for the answer. So no chance to have a clean build with
Qt3DExtras until the bug is fixed right? Or did I misunderstand something?

Thanks again

Matteo
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Problem with 3D during compilation in debian sid

2018-04-10 Thread Bas Couwenberg

On 2018-04-10 16:49, Bas Couwenberg wrote:

On 2018-04-10 16:37, matteo wrote:

absolutely no idea why.


Perhaps there were removed in the new qt3d-opensource-src
(5.10.1+dfsg-3), note the ongoing transition:

 https://bugs.debian.org/893523


The Qt3DExtras includes are no longer included in qt3d5-dev, confirmed 
with:


 apt-file show qt3d5-dev | grep Qt3DExtras

Kind Regards,

Bas
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Problem with 3D during compilation in debian sid

2018-04-10 Thread Bas Couwenberg

On 2018-04-10 16:37, matteo wrote:

absolutely no idea why.


Perhaps there were removed in the new qt3d-opensource-src 
(5.10.1+dfsg-3), note the ongoing transition:


 https://bugs.debian.org/893523


As I said the re-installation did not changed anything. Should I
manually copy some files into "include"?


No, you should not modify package paths.

Kind Regards,

Bas
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Problem with 3D during compilation in debian sid

2018-04-10 Thread matteo
Hi Martin,

> Umm... you are looking into "lib" directory, not "include" directory.
> 
> /usr/include/x86_64-linux-gnu/qt5/Qt3DExtras
> 
> Does that file exist? Is the file readable? (nothing funky with file
> permissions)
> 
> Also, make sure to re-run cmake from a clean build directory...

I was just replying that I looked into the wrong folder.. in fact in
"include" Qt3DExtras is not there..

matteo@debian:~$ ls /usr/include/x86_64-linux-gnu/qt5/
Qsci   Qt3DQuickInputQtCoreQtHelp
QtPlatformHeaders  QtQuick   QtSvg   QtWebKitWidgets
Qt3DCore   Qt3DQuickRender   QtDBusQtNetwork
QtPositioning  QtQuickParticles  QtTest  QtWidgets
Qt3DInput  Qt3DQuickScene2D  QtDesignerQtOpenGL
QtPrintSupport QtQuickTest   QtUiPlugin  QtXml
Qt3DLogic  Qt3DRenderQtDesignerComponents  QtOpenGLExtensions
QtQml  QtQuickWidgetsQtUiTools   QtXmlPatterns
Qt3DQuick  QtConcurrent  QtGui QtPacketProtocol
QtQmlDebug QtSql QtWebKit


absolutely no idea why.

As I said the re-installation did not changed anything. Should I
manually copy some files into "include"?

Thanks again for the support

Matteo
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Problem with 3D during compilation in debian sid

2018-04-10 Thread Martin Dobias
On Tue, Apr 10, 2018 at 3:59 PM, matteo  wrote:
>
> yeah that's exactly what I thought because the file is there:
>
> matteo@debian:/usr/lib/x86_64-linux-gnu$ ls | grep -i libQt53DEx
> libQt53DExtras.prl
> libQt53DExtras.so
> libQt53DExtras.so.5
> libQt53DExtras.so.5.10
> libQt53DExtras.so.5.10.1

Umm... you are looking into "lib" directory, not "include" directory.

/usr/include/x86_64-linux-gnu/qt5/Qt3DExtras

Does that file exist? Is the file readable? (nothing funky with file
permissions)

Also, make sure to re-run cmake from a clean build directory...

Cheers
Martin
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Problem with 3D during compilation in debian sid

2018-04-10 Thread matteo
Hi Martin,

yeah that's exactly what I thought because the file is there:

matteo@debian:/usr/lib/x86_64-linux-gnu$ ls | grep -i libQt53DEx
libQt53DExtras.prl
libQt53DExtras.so
libQt53DExtras.so.5
libQt53DExtras.so.5.10
libQt53DExtras.so.5.10.1


together with all the other libQt ones.. I tried also to reinstall both
qt3d5-dev and libqt3DExtras but nothing changed.

BTW: I noticed that when removing qt3d5-dev all the libqt53D where not
mandatory uninstalled.

Thanks Martin!

Matteo
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Problem with 3D during compilation in debian sid

2018-04-10 Thread Martin Dobias
On Tue, Apr 10, 2018 at 3:00 PM, matteo  wrote:
>
> thanks for the reply. Yep, these are installed:
>
> matteo@debian:~$ aptitude search qt3d5-dev
> i   qt3d5-dev - Qt 5
> 3D development files

Hmm that's strange - it seems like there is something wrong with your
installation - the mentioned file
/usr/include/x86_64-linux-gnu/qt5/Qt3DExtras should be installed from
that package - but it seems it does not exist on your system. Could
you verify that the file does not exist and try to reinstall the
qt3d5-dev package?

Cheers
Martin
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Problem with 3D during compilation in debian sid

2018-04-10 Thread matteo
Hi Martin,

thanks for the reply. Yep, these are installed:

matteo@debian:~$ aptitude search qt3d5-dev
i   qt3d5-dev - Qt 5
3D development files
i   qt3d5-dev-tools


Thanks

Matteo
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Problem with 3D during compilation in debian sid

2018-04-10 Thread Martin Dobias
Hi Matteo

do you have qt3d5-dev package installed? That's the package containing
#include files and those extra .cmake files...

Cheers
Martin


On Tue, Apr 10, 2018 at 2:18 PM, matteo  wrote:
> Hi guys,
>
> sorry sorry to bother the list you again with this, but I'm stack and
> maybe someone has a quick solution.
>
> I have a really fresh installation of debian unstable, so all the Qt
> dependencies should be satisfied for the 3D.
>
> However, if I enable the WITH3D flag in ccmake I'm not able to configure
> it even if I have all the libqt5 installed (also libqt53dextras).
>
> If someone has a solution or some suggestions for this it would be
> really great
>
>
> Thanks to all
>
> Matteo
>
>
>
>
>   CMake Error at
> /usr/lib/x86_64-linux-gnu/cmake/Qt53DExtras/Qt53DExtrasConfig.cmake:27
> (message):
>The imported target "Qt5::3DExtras" references the file
>
>   "/usr/include/x86_64-linux-gnu/qt5/Qt3DExtras"
>
>but this file does not exist.  Possible reasons include:
>
>* The file was deleted, renamed, or moved to another location.
>
>* An install or uninstall procedure did not complete successfully.
>
>* The installation package was faulty and contained
>
>   "/usr/lib/x86_64-linux-gnu/cmake/Qt53DExtras/Qt53DExtrasConfig.cmake"
>
>but not all the files it references.
>
>  Call Stack (most recent call first):
>
> /usr/lib/x86_64-linux-gnu/cmake/Qt53DExtras/Qt53DExtrasConfig.cmake:63
> (_qt5_3DExtras_check_file_exists)
>CMakeLists.txt:310 (FIND_PACKAGE)
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Problem with 3D during compilation in debian sid

2018-04-10 Thread matteo
Hi guys,

sorry sorry to bother the list you again with this, but I'm stack and
maybe someone has a quick solution.

I have a really fresh installation of debian unstable, so all the Qt
dependencies should be satisfied for the 3D.

However, if I enable the WITH3D flag in ccmake I'm not able to configure
it even if I have all the libqt5 installed (also libqt53dextras).

If someone has a solution or some suggestions for this it would be
really great


Thanks to all

Matteo




  CMake Error at
/usr/lib/x86_64-linux-gnu/cmake/Qt53DExtras/Qt53DExtrasConfig.cmake:27
(message):
   The imported target "Qt5::3DExtras" references the file

  "/usr/include/x86_64-linux-gnu/qt5/Qt3DExtras"

   but this file does not exist.  Possible reasons include:

   * The file was deleted, renamed, or moved to another location.

   * An install or uninstall procedure did not complete successfully.

   * The installation package was faulty and contained

  "/usr/lib/x86_64-linux-gnu/cmake/Qt53DExtras/Qt53DExtrasConfig.cmake"

   but not all the files it references.

 Call Stack (most recent call first):

/usr/lib/x86_64-linux-gnu/cmake/Qt53DExtras/Qt53DExtrasConfig.cmake:63
(_qt5_3DExtras_check_file_exists)
   CMakeLists.txt:310 (FIND_PACKAGE)
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer