Is a cross-platform application framework that is widely used for developing application software with a graphical user interface (GUI) (in which cases Qt is classified as a widget toolkit), and also used for developing non-GUI programs such as command-line tools and consoles for servers.

learn more… | top users | synonyms

1
vote
2answers
590 views

How to show a QGis map in Qt/C++ custom widget with QgsMapCanvas?

I'm trying to add a QGis map in Qt/C++ widget using QgsMapCanvas, but I have some problems... I'm working with the following environment: - Ubuntu 12.04 - QGis 2.8.1 - Qt Creator 2.4.1 (based on Qt ...
0
votes
0answers
7 views

Strip characters in Java/QML in App Studio for Arc GIS

I'm trying to change the display text for attachments in the Arc GIS App Studio. I want to strip a number of characters from the front of the string, and a number of characters from the end and keep ...
1
vote
2answers
322 views

GDAL Application crashes when loading GDAL drivers

I'm developing on QT an application that uses GDAL library (which I compiled using MinGW 4.8). When I use the application on my windows 8 laptop, it works fine, but when I tried using it on several ...
4
votes
6answers
2k views

QGIS plugin: Problems importing resources (resources_rc) file - plugin doasn't load - PATH problems?

I'm building qgis plugin and I can't find solution for this error. File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 478, in _import mod = _builtin_import(name, globals, locals, ...
4
votes
1answer
80 views

How to write Python code with QList class

I need to write an interpolation script for QGIS. I want use TINInterpolation method from Interpolation plugin. I found class in API documentation but I don't know how to write QList object with ...
1
vote
0answers
91 views

QGIS on Samsung GT-N5110 - invalid Qt version

I want to install QGIS Experimental on my Samsung GT-N5110 tablet. When opening QGIS cannot open additional libraries and there is an error message: "Invalid Qt version" and QGIS crashes. I use ...
1
vote
2answers
84 views

How to add dynamic text feedback for QGIS plugin?

I am building a plugin using Qt Designer which will initially allow users to select features for a chosen polygon layer and then when a feature is selected on the canvas, the area is printed out in ...
0
votes
1answer
60 views

Plugin with QT Creator and Python [closed]

I would like to develop a selection-plugin in qgis. It doesnt run because there is a Problem with the python script. I can select the layer. However, I dont know how can i choose between "ZD", ...
0
votes
0answers
17 views

How can Qt viewer be opened from ArcGIS?

I have a standalone Qt viewer. I want to open Qt viewer from ArcGIS when user clicks on any point in a point shapefile and Qt viewer shows the data from attribute table of that shapefile.
1
vote
0answers
61 views

Designing User Interface in QT designer and connecting with QGIS [closed]

I am trying to input a excel file into QGIS from the QT designer User Interface. I want to select the attribute list from the UI and display the thematic maps from the selected attribute list to the ...
4
votes
1answer
392 views

Showing only some layers in QGIS legend?

My QGIS 2.8.2 standalone app provides several decorating layers (e.g. cartographic grid, background layers, reference points) which should be not changed by the user (neither editing nor hiding), as ...
0
votes
0answers
23 views

Marble how add a single entity in marble qt and update it

How add a single entity into a position and update it without append geodata documents. I working on a tracking system. The map should update the trajectory. in the official tutorial we have. ...
10
votes
1answer
561 views

Adding new menu item to QGIS Desktop app?

I need to add new menu item to the top level menu of QGIS Desktop (2.7.0); I.e. it shall be on same level as "Project", "Edit", "View", "Layer" etc. As far as I know there is pretty nice way how hide ...
2
votes
0answers
27 views

QGIS plugin window qt creator formatting ineffictive

I am developing a QGIS plugin. I have assigned the QGIS main window as the parent window of custom plugin using: QtGui.QDialog.__init__(self,iface.mainWindow()) But after doing so the problem ...
1
vote
0answers
52 views

Customizing QGIS print composer to use default layout created and custome table

I am doing a cadastral application as a plugin and I want to export some table in data [in a model] with the parcels displayed [ the geometry ] to pdf file. And I am thinking to do that using a QGIS ...
2
votes
2answers
137 views

Insert image in QGIS Plugin using qt creator [closed]

I'm building qgis plugin and i use Qt creator to creat a form. I want insert a image and i use a label to do this. In the field pixmap i choose a file image.png. I save and in QGIS i reload a plugin ...
1
vote
1answer
370 views

Pull pixmap image source from ui edit text in QT

I'm putting together a custom form for QGIS identify using Qt Designer. One attribute has a file name to the accompanying photo of the feature. I'd like to have the photo label in the form grab the ...
6
votes
1answer
2k views

How to create a dropdown menu in QGIS Toolbar with Python

I Have a set of some QAction in my QGIS-Plugin and they are created and added to the toolbar like this icon = QIcon(":/action1.png") self.action1 = QAction(icon, u"Action 1", self.iface.mainWindow()) ...
0
votes
0answers
107 views

Would a QGIS qt5 build use qt5's OpenGL rendering capabilities?

Related to this question, I am considering building QGIS with qt5 (caveats acknowledged) in order to improve rendering speed with qt5's OpenGL support. Before I attempt this I need to know whether ...
2
votes
1answer
383 views

Qt/C++ Hello World application with QGIS not compiled: qgsconfig.h not found

I am a Qt/C++ developer. I have to create a GUI application (Qt/C++) with GIS maps. I'm trying to do that using QGIS. I'm working in Linux Ubuntu with Qt Creator 2.4.1 (based on Qt 4.8.0). I did the ...
1
vote
1answer
262 views

Duplicate values in combobox in QT Designer form

I have a custom form created with QT Designer on which I have several comboboxes among other stuff. All the fields have the correct names corresponding to the database. But something weird and ...
3
votes
4answers
2k views

Can I use QGIS with Qt5?

I want to use QGIS with Qt 5.But i don't know the exact relationship between Qt and QGIS.Will there some problems if i use qgis with qt5 or it will not depand on it...
1
vote
0answers
30 views

Custom form and field calculation Qgis

I wonder if it is possible using a custom form for field calculation to be carried out by means of a calculate button. I have 4 input fields, I enter in two fields manualy a number, after pressing ...
1
vote
1answer
154 views

Close dialog when algorithm is finished (QGIS plugin)

I've read many threads on this but I'm not able to figure out the solution (I'm a beginner to the plugin creation...). What I what to do is to close the dialog window when the algorithm has finished ...
0
votes
0answers
100 views

Showing an Overview map with the ArcGIS C++ QT Runtime

I am using the Esri ArcGIS QT API for C++ and trying to create an overview map for my application as found here: Multiple maps - https://developers.arcgis.com/qt/cpp/guide/multiple-maps.htm I am ...
-2
votes
1answer
92 views

Looking for a QGIS tutorial

I am looking for QGIS tutorials that cover the topics of making a user interface to update the attribute table or any related tutorial that might help. Does anyone know of one?
3
votes
1answer
90 views

How to bind attributes to a Qt custom form?

I have followed this helpful post on creating a custom form. I have named the Qt objects the same as the fields in my attribute table. I have also set the edit widget properties to text edit for the ...
5
votes
2answers
281 views

How to calculate with time values in QGIS?

I have two string fields in a vector layer, "From" and "To", with values in the format of 10:16:30 and 10:18:00 e.g. I would like to calculate the difference in minutes as a decimal value, in this ...
1
vote
0answers
132 views

How to define a custom function that returns value of a field in an unsaved form

Filter expression builder in QGIS 2.8 allows us to define custom functions using python. I'm intrested would it be possible to define a function which returns a value of a field in an unsaved form ...
1
vote
0answers
67 views

QGIS and QT library- code compilation problem [closed]

So, I am trying to workout an GIS standalone application using QGIS and QT C++ Libraries on linux(ubuntu 15.04). I am following this tutorial: https://github.com/qgis/QGIS-Code-Examples Taking the ...
0
votes
1answer
70 views

Where are cpp files from libqgis? [closed]

I am in linux Mint 17.0 I am trying to develop a small application in Qt using libqgis library. When I create a Class inherit from QgsMapCanvas, I get mistakes related with 'undefined references ...
1
vote
1answer
138 views

Problems with connecting QDateEdit and QTimeEdit widgets to corresponding Field in QGIS Layer (shp/spatialite)

Could anybody give me a hint how to connect the QDateEdit and the QTimeEdit widgets with a field in a QGIS layer (shp or spatialite). The fields in the QGIS layers are from datatype "date" ...
0
votes
0answers
100 views

Use QGIS and Qt dialog forms

I have a QGIS project where there are plots with a attributes like name of the owner, address of the owner, cultivate, and so on. This plots are read from a PostGIS database. The future users of this ...
1
vote
0answers
132 views

use qgis api in qtcreator

i have a college project that searches content in map. I did all instruction written in this site: http://kartoza.com/how-to-build-and-debug-qgis-with-qtcreator then built my sample project. this is ...
0
votes
1answer
33 views

Gdal/OGR LayerMetaData not parsing its value

To start off with: Using Gdal/Ogr compiled with Xerces to read a WFS Reading from a WFS version 1.0.0 Compiler is QT version 5.4.1 ( C++ ) So I'm trying to get all the capabilities of a WFS via ...
1
vote
0answers
96 views

How to pull data from multiple databases via Qt .ui form?

Using a single .ui form and wthin QGIS, can I show multiple records from another table that is associated with a single polygon? Table 1 contains planning applications ref Table 2 contains multiple ...
1
vote
0answers
10 views

Plugin c++ - QGIS [duplicate]

I'd like to know how can i create extension in c++ by using QtCreator, for QGis 2.8 ? Thank you for helping me.
1
vote
0answers
47 views

C++ Get Capabilities from a WFS

To start off with: Coding in C++ Using the QT Creator Reading from WFS Version 1.1.0 Using Gdal/OGR compiled with Xerces Hi all so I'm trying to get all of the Capabilities from a WFS. I know how ...
1
vote
1answer
78 views

Getting Feature names from WFS in C++

to start off with: Coding in C++ Using WFS Version 1.0.0 Using QT 5.4.1 Windows 8 Latest versions I'm trying to read in a WFS in code via Gdal compiled with Xerces - I'm able to read the GML ...
0
votes
1answer
172 views

QGIS C++ Hello World example crashing

I have written a very simple C++/Qt application using QGIS comprised of a single "main.cpp" file as below: #include <qgsapplication.h> int main(int argc, char ** argv) { QgsApplication ...
1
vote
0answers
58 views

QGIS MapCanvas with Round Border

I have a canvas within a QWidget (also tried QFrame) which uses a stylesheet: border: 2px solid black; border-radius: 10px; The stylesheet looks great in the designer, but as soon as I put the ...
4
votes
1answer
573 views

QGIS Standalone C++ Application with Qt: “The program has unexpectedly finished”

I'm trying to develop an Standalone Application with Qt and QGIS API. There are several code examples that should work, but they don't. The Problem is that everytime I use "QgsApplication" the ...
1
vote
1answer
363 views

QGIS custom Form - How to bind a value from a QComboBox?

I am trying to build a custom form for field data collection (bird species) with some python logic. The python code inserts values into a QComboBox: At the beginning of the list it adds the twenty ...
1
vote
0answers
196 views

QGIS Project: where to put CORE_Export definition in Visual studio 2010

I am trying to develop a QGIS application with the following setup: OSGE4W qgis Libs QT 4.8.5 Windows 7 Visual Studio 2010 I have all the references setup in VS, but am not sure where define the ...
2
votes
1answer
220 views

How to add multiple attributes to a newly created feature with PyQGIS

I am creating a form for updating the attribute values of the newly created feature. But when i am updating the values only one attribute field is getting updated. So if i want to update the multiple ...
2
votes
1answer
279 views

Layer properties dialog in my QGIS plugin

I am developing a plugin which should display some information like geometry of the layer, feature count etc. Now those are currently displayed in QMessageBox.information. I want it to be displayed ...
1
vote
0answers
49 views

How to change the attribute values of the feature using the custom feature form

When i am using the following command it opens the feature form with all the fields: qgis.utils.iface.openFeatureForm(qgis.utils.iface.activeLayer(), f) But i want to open a feature form with the ...
3
votes
1answer
2k views

circle detection on binary image

My image is gray scale image which i have converted to binary by smoothing and then edge detection method. Now i want to place the circle /ellipse on edge detected. I don't know how to proceed ...
0
votes
1answer
595 views

How to position the Qwidget form/QDialogBox in the left corner using python programming

1) I am creating a Qwidget Form or QDialogBox using QT Designer. I am using the following code to move the form: sDialog.move(50,450) But i want to fit the dialogBox to fit in the left corner.How ...
1
vote
0answers
164 views

How to best get Qt Designer for QGIS plugin development on Mac?

I'm using QGIS 2.6.1 on Mac OSX 10.9.4, trying to create a plugin as described in the PyQGIS Programmer's Guide. I have the plugin 'skeleton' (main widget with header and ok/cancel buttons) running in ...