Re: [QGIS-Developer] QGis 3D performance

2018-01-05 Thread Vincent Habchi
Hi Martin,

> Yes it is a known issue: https://issues.qgis.org/issues/17493

Thanks. I wasn’t aware a ticket had already been opened. Sorry for the noise, 
but then you know now it also plagues OS X and is not solved in Qt 5.10, 
apparently.

Cheers, have a nice weekend! 
Vincent


___
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] QGis 3D performance

2018-01-05 Thread Vincent Habchi
Folks,

sorry if I bug you with my multiple (scattershot) messages.

When I display a 3D view on OS X / Qt 5.10 with a reasonably recent MacBook Pro 
13" (i5-5257U CPU - integrated graphics), even when I don’t interact with the 
view, the fan ramps up and top reports a CPU usage around 50% for QGis. Other 
applications slow down perceptibly.

In my experiment, I use a 25x25 m DEM as terrain model and display around 
40,000 3D vector features (extruded buildings models).

Is this CPU load expected? Do you get a similar phenomenon on your own hardware?

Thanks,
Vincent

___
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] 2.99 colour panel crash? (MacOS 10.13/Qt 5.10)

2018-01-04 Thread Vincent Habchi
Folks,

Apparently there are recurring bug with the UI under OS X when using OS X 10.13 
/ Qt 5.10 : some dialog box closure crash (I just tried to close the project 
dialogue box and it crashed right away), and also the small colour dialog with 
predefined hues that appears when you click on the right of the standard colour 
picker.

Just to say, sorry I can’t be of any more help because I only have so much time 
these days (TBH, I’m currently writing a review of QGIS 3 for the January issue 
of my magazine).

Good luck!

Vincent

___
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] QGIS 2.99 server – libdummy.so woes

2018-01-02 Thread Vincent Habchi
Guys,

libdummy.so does not link properly on OS X. It binds to non-existent dylibs 
(well, TBH, it binds to actual dylibs, but the path to them is wrong). As a 
stopgap measure, can I simply delete this lib before packaging the app? I’m not 
sure what this library is used for.

Thanks, happy new year to all the team!

Vincent

___
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] QGIS 3D: looking below the terrain model

2017-12-15 Thread Vincent Habchi
Hi there,

I’m boarding a bit late on the train but:

> Perhaps - or maybe not. 3D is the kind of thing that many think is cool, but 
> they wouldn't spend money on it, because it isn't helping their business 
> case. As an example, the crowd funding from Lutra on 3D for Crayfish go close 
> to zero support from QGIS users up to now. See 
> https://www.lutraconsulting.co.uk/crowdfunding/qgis-crayfish-3/ 

My experience as a journalist who speaks to quite a lot of people using GIS in 
local governments and elsewhere is that 3D is rarely, if ever used, and for the 
time being is more a gadget than a real useful tool.

However, that is probably going to change in the near future as a result of 
three separate trends:

1. LiDAR point clouds (I’d say that integrating point clouds viz into QGis is 
as important as being able to represent 3D volumes). 

2. BIM - SIG convergence.

3. Utility network management (which raises the point of underground 
representation). 


Besides, is QGIS 3D powered by the 3D functions of Qt? Because I heard about 
the Globe plugin being underpinned by Open Scene Graph, and I’d hate, as a 
packager, to see the number of dependencies barrel out of control just because 
the 3D support hasn’t be harmonised to a single API.

Vincent
___
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] Further woes with QGIS 3

2017-12-08 Thread Vincent Habchi
Folks,

I’m still stuck with a couple of quirks while compiling/linking QGis 3. First 
of all, the macports binary archive refuses to distribute qgis3 binary because: 

"qgis3" is not distributable because its license "gpl" conflicts with license 
"OpenSSL" of dependency « openssl"



Besides, when I try and turn on the server option, I get a slew of linking 
errors caused by “libdummy.so”. What gives?

—

Could not open 
/Applications/MacPorts/Qgis3.app/Contents/MacOS/lib/qgis/server/../../Frameworks/qgis_native.framework/qgis_native:
 Error opening or reading file (referenced from 
/Applications/MacPorts/Qgis3.app/Contents/MacOS/lib/qgis/server/libdummy.so)
Could not open 
/Applications/MacPorts/Qgis3.app/Contents/MacOS/lib/qgis/server/../../Frameworks/qgis_core.framework/qgis_core:
 Error opening or reading file (referenced from 
/Applications/MacPorts/Qgis3.app/Contents/MacOS/lib/qgis/server/libdummy.so)
Could not open 
/Applications/MacPorts/Qgis3.app/Contents/MacOS/lib/qgis/server/../lib/libqgispython.2.99.0.dylib:
 Error opening or reading file (referenced from 
/Applications/MacPorts/Qgis3.app/Contents/MacOS/lib/qgis/server/libdummy.so)
Could not open 
/Applications/MacPorts/Qgis3.app/Contents/MacOS/lib/qgis/server/../../Frameworks/qgis_analysis.framework/qgis_analysis:
 Error opening or reading file (referenced from 
/Applications/MacPorts/Qgis3.app/Contents/MacOS/lib/qgis/server/libdummy.so)
Could not open 
/Applications/MacPorts/Qgis3.app/Contents/MacOS/lib/qgis/server/../lib/libqgis_server.2.99.0.dylib:
 Error opening or reading file (referenced from 
/Applications/MacPorts/Qgis3.app/Contents/MacOS/lib/qgis/server/libdummy.so)

—

Can I delete that libdummy.so before packaging the software?

Any help would be greatly appreciated :)

Thanks a bunch and cheers!
Vincent

___
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] More errors from OS X 10.13 compiling

2017-12-07 Thread Vincent Habchi
Salut !

> The patch has been added this week according to git blame (maybe a copy/paste)
> In the QT issue tracker, they said the issue has been fixed in Qt 5.4.1 only 
> https://bugreports.qt.io/browse/QTBUG-40449 so we might keep this code.
> 
> I made a PR already in QGIS: https://github.com/qgis/QGIS/pull/5822

Swell. Since MacPorts runs with Qt 5.9, this is fine for me to comment out. 
Thanks for your input.

A finer approach in the code would be to enable/disable the patch according to 
the Qt version QGis gets compiled with, but I’m still skeptical the patch would 
compile with, say Qt 5.3 on OS X 10.13 (has Core Foundation API been changed?).

Bonne soirée et merci !
Vincent

___
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] More errors from OS X 10.13 compiling

2017-12-07 Thread Vincent Habchi
Hey guys,

I’m not sure this has been brought up yet, so here it is:

The fix #11399 doesn’t seem to work on OS X 10.13 anymore or needs further 
patching:

qgslayoutdesignerdialog.cpp:948:11: error: use of undeclared identifier 
'kCFAllocatorDefault'
 kCFAllocatorDefault,
 ^
qgslayoutdesignerdialog.cpp:950:11: error: use of undeclared identifier 
'kCFStringEncodingUTF8'
 kCFStringEncodingUTF8
 ^
qgslayoutdesignerdialog.cpp:954:11: error: use of undeclared identifier 
'kCFAllocatorDefault'
 kCFAllocatorDefault,
 ^
qgslayoutdesignerdialog.cpp:956:11: error: use of undeclared identifier 
'kCFURLPOSIXPathStyle'
 kCFURLPOSIXPathStyle,
 ^
qgslayoutdesignerdialog.cpp:962:11: error: use of undeclared identifier 
'kCFAllocatorDefault'
 kCFAllocatorDefault,
 ^
qgslayoutdesignerdialog.cpp:968:22: error: unknown type name 'CFIndex'
   static const CFIndex maxAbsPathCStrBufLen = 4096;
^
qgslayoutdesignerdialog.cpp:973:33: error: unknown type name 'UInt8'
  reinterpret_cast( &absPathCStr[0] ),
   ^
qgslayoutdesignerdialog.cpp:980:7: error: use of undeclared identifier 
'CFRelease'
 CFRelease( relCFURL );
 ^

Also I get this error, in the same file, later:

qgslayoutdesignerdialog.cpp:1263:3: error: use of undeclared identifier 'mQgis'
 mQgis->activateWindow();
 ^


If I disable these patches for MacOS (#if 0 …) the build works, of course. 
Since the first patch is supposed to target a Qt4 bug, can it be safely 
disabled when linking against Qt5?

Thanks,
Vincent



___
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] Python 3 support woes on master/OS X

2017-12-06 Thread Vincent Habchi
Matthias,

okay seems to be a bug in Macports. Sipconfig returns a wrong default path, and 
thus compilation fails.

Sorry for the noise,

Viel Spaß!
Vincent
___
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] Python 3 support woes on master/OS X

2017-12-06 Thread Vincent Habchi
Matthias,

> are you sure sip-3.6 is the version? sip-4.0 was released in 2004 and we
> are now at 4.19.6.

Yeah, I mean, on Macports, you can have more than one Python version installed, 
so everything get tagged according to the Python version it’s attached to. 
sip-3.6 simply means that it’s the sip version that runs with Python 3.6

Air > sip-3.6 -V
4.19.6

But I think I figured it out: PYQT5_SIP_DIR. Trying now to recompile.

Danke sehr für deine schnelle Antwort!
Vincent

___
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] Python 3 support woes on master/OS X

2017-12-06 Thread Vincent Habchi
Matthias,

Okay, I’ve got Python plugged in now.

However, the compilation fails because sip-3.6 lacks a -I spec in command line 
(it doesn’t find the PyQt5 modules).

Is there a way to specify it as a cmake parameter or do I have to patch the 
CMakeLists.txt?

Vielen Dank im voraus!

Vincent

___
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] Python 3 support woes on master/OS X

2017-12-06 Thread Vincent Habchi
Hallo Matthias!

> Some other CMake variables to check
> 
> - WITH_BINDINGS
> 
> - PYTHON_LIBRARY
> 
> ... and check if pyqt development libraries are available

Oops. WITH_BINDINGS should be ON?

> 
> Good luck!

Ja, ich brauche das. Viel Dank dafür! :P

Thanks!
Vincent

___
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] Python 3 support woes on master/OS X

2017-12-06 Thread Vincent Habchi
Guys,

sorry to butt in this list, but I was officially invited to by Giovanni Manghi 
(yeah, I’m a snitch. Boo!).

Anyways, here is my riddle:

I’ve written a Portfile to plug QGIS3 into the Portfile packaging system for OS 
X.

Fine. It builds and works, even the 3D!

Big self-satisfaction spree…

…except that I can’t get any Python support. The Plug-in dialogue reports “no 
Python support found” despite setting PYTHON_EXECUTABLE to a correct value 
(/opt/local/bin/python3.6).

As it seems to be an isolated case (though everyone who uses MacPorts does 
report the same problem), does anyone know where I should poke my nose to try 
and find what’s wrong?

Thanks a bunch!

Vincent

___
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