Re: [Qgis-user] Issues to building QGIS-2.10.1 on linux using Qt5.5

2015-08-12 Thread Spartucus
thanks for replying. It is hard to use yum in NeoKylin, because its yum repo is incomplete, I tried before. And the Qt5 thing is necessary. Because I use QGIS for developing in a large system, other parts of system are built of QT5, so it is nicer to building QGIS using Qt5 rather than Qt4. And

Re: [Qgis-user] Issues to building QGIS-2.10.1 on linux using Qt5.5

2015-08-12 Thread Spartucus
thanks Richard. Yeah, it is harder to using yum to install QGIS(so many dependencies) rather than building from source. I compiling QGIS for QT5 only. Only add the MAKE log again this time see if it is OK in nabble: -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Issues-t

[Qgis-user] Issues to building QGIS-2.10.1 on linux using Qt5.5

2015-08-12 Thread Spartucus
hi all, I'm trying to build QGIS-2.10.1 on my linux from source. I want to build QGIS API for developmenting. I consulted the Matthias Kuhn's article: here . CMAKE is OK regardless of some warning, but MAKE break down. The OS I'm using is Neokylin3.2.2, a

Re: [Qgis-user] How to load a *.qgs file in a C++ QGIS standalone app?

2014-10-28 Thread Spartucus
It works!!! Thank you very much, it tangled me a long time! You Rocks! -- View this message in context: http://osgeo-org.1560.x6.nabble.com/How-to-load-a-qgs-file-in-a-C-QGIS-standalone-app-tp5169813p5169838.html Sent from the Quantum GIS - User mailing list archive at Nabble.com. _

[Qgis-user] How to load a *.qgs file in a C++ QGIS standalone app?

2014-10-27 Thread Spartucus
I'm using QGIS-2.4.0 API to develop a standalone app by C++. I saved a test.qgs file in QGIS Desktop software, in the project, there was one layer and it was visible. Then I loaded the test.qgs project file in app, but there is nothing showed. Why is that? The code I'm using to open the project is

[Qgis-user] Open a .Qgs project file in API, why maps do not show?

2014-10-19 Thread Spartucus
Hi all, I'm using QGIS-2.4.0 API. I saved a test.qgs file in QGIS Desktop, in this project, there is one layer in it. Then I open the test.qgs project file in QGIS API to developing, but it is not showed in APP. Why is that? The code I'm using to open the project is: QString myProjectPath =

[Qgis-user] Can QGIS generate a has-attribute map that composed of several .shp maps?

2014-10-15 Thread Spartucus
I'm using QGIS-2.4.0 API to develop application. I need a map that composed of several vector layers. If only this, it can be done by merge in QGIS, but I need more for that: the map(or project?) I want is composed of several layers, each layer has its own attributes, such as style: color/labels,