Questions tagged [qt]

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.

42 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
79 views

QGIS plugin window qt creator formatting is ineffective

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 is ...
3
votes
0answers
696 views

Setup of development environment of QGIS on windows with qt creator

Can anyone help me in setting up environment for working on QGIS on windows using qt-creator? I am using qt creator version 1.3.1,qt version 4.6 and QGIS version 1.8. Thanks.
2
votes
0answers
224 views

pyrcc_main.py: File does not exist 'resources.qrc'

I am trying to install Python plugins (to develop QT/Python plugins for QGIS). I see the following error when I try to run the command: Compile.bat: @echo off call "C:\OSGeo4W64\bin\o4w_env.bat" ...
2
votes
1answer
90 views

Create tabs for the QGIS plugin interface using Qt Creator

Is it possible to create tabs for QGIS plugin using Qt Creator? (Something like the image I attached) I am trying to group the functionalities I developed for QGIS plugin and I think using multiple ...
2
votes
0answers
22 views

Support materials and shaders in ArcGIS when importing model from 3D Max?

Does ArcGIS support materials and shaders when importing a model from 3D Max? Can I change the texture of the model when it is already added to the scene? How to do it? Esri::ArcGISRuntime::...
2
votes
0answers
218 views

Routing by means of OpenStreetMap with Qt and Maps.me?

I'm following the steps on this page: https://github.com/mapsme/omim/blob/master/docs/MAPS.md https://github.com/mapsme/omim/blob/master/docs/CONTRIBUTING.md When I run this line "omim/tools/unix/...
2
votes
0answers
293 views

QGIS: Error LNK2019 using QApplication

I'm trying to create a project using the QGIS class "QApplication" but it seems to fail due to an error I can´t understand. I'm using this build version of QGIS made for QT5.7, VS2015, W10 x64 and my ...
2
votes
0answers
467 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 ...
2
votes
0answers
356 views

How to create a spatial view when allowing multiple selection in qgis’s edit widget “value relation”?

I've a point layer in qgis and serveral non spatial tables in a spatialite database. In qgis the fields were filled using the edit widget "value relation" (multiple selection allowed for some fields). ...
2
votes
0answers
267 views

qgis and embedded ajax (bing map)

I need to load in a docked QWebView this html: < html > < body > < iframe width="100%" height="499" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://...
1
vote
0answers
19 views

QgsMapCanvas map rendering issue

Background : I am making a raster + vector map navigation application using Qt4 and QGIS in C++. Map is loaded inside QgsMapCanvas, which is quite slow, mapcanvas is the part of QGraphicScene, ...
1
vote
0answers
28 views

Store and Open PDFs in ESRI App Studio

Is it possible to open local PDFs from within ESRI's AppStudio? I can easily open pdfs and files from web links with "Qt.openUrlExternally('http..." but I need this app to work completely offline. I'...
1
vote
0answers
38 views

QGIS3 - Using QML in a python plugin on OSX - missing modules

I have the following QML file I am trying to display in a python plugin import QtCharts 2.0 import QtQuick 2.0 ChartView { antialiasing: true title: "Chart Title" titleColor: "white" ...
1
vote
1answer
88 views

How to catch the event the mousePressEvent on Esri :: ArcGISRuntime :: Graphic?

All events mouse protected. I tried to do it via eventFilter and using QObject :: connect, but the result false. How do I catch a click event on Graphic? What I tried: ... void ViewshedGeoElement:...
1
vote
0answers
79 views

Changing the field colour/design on a QGIS 3 QT attribute form?

I have problems with changing the physical appearance of a custom attribute form (QGIS 3, Windows 7). A custom attribute form can be designed, for use in QGIS, using QT / QT Designer. In QT Designer ...
1
vote
1answer
44 views

Show differenet SVG icons on one layer at runtime

I need to show several SVG icons (more than 388 icons) with different name on a single layer(if possible on memory layer). I am using QGis 2.8 and qt4.8.6 The icons represent different kind of ...
1
vote
0answers
175 views

QGIS 2.18 C++ API: How do I match the scale of vector and raster layers with different crs?

I'm loading two layers to QGIS maps canvas: the first is a shapefile, with EPSG:4326 crs. The second is an xml for Goolge TileServer, with EPSG:3857 crs. Google TileServer - Hybrid.xml <...
1
vote
0answers
257 views

Developing application with Qt + QGIS or with PyQGIS + QGIS

I'm a n00b developer in the GIS arena, developing a desktop application that will have a window to display map data, along with other windows to perform operations over the data. I also would like to ...
1
vote
0answers
90 views

Qt Qgis mouse event on QgsMapCanvasItem

I'm trying to intercept the mouse event on a QgsMapCanvasItem. I create a new class that extends the QgsMapCanvasItem, and override the mouseReleaseEvent (i put a qDebug inside). As long as I tried a ...
1
vote
0answers
195 views

How do I import QGIS C++ libraries into my Qt/C++ project?

I'm working on Ubuntu 14.04 and I downloaded QGIS Desktop version 2.18.14... I also have Qt Creator version 3.0.1 (based on Qt 5.2.1)... When I downloaded QGIS Desktop via the Ubuntu software center,...
1
vote
0answers
57 views

Change the content of Countries.txt

I'm following the steps on this page: "https://github.com/mapsme/omim/blob/master/docs/MAPS.md", "https://github.com/mapsme/omim/blob/master/docs/INSTALL.md" When I run this line "omim / tools / ...
1
vote
0answers
95 views

QGIS raster layer invalid

I am trying to load a georeferenced .tiff file into the map canvas in a Qt application. While it is displayed when the application is running on my laptop, the same image does not get loaded into the ...
1
vote
0answers
82 views

Get already used shortcuts in QGIS plugin

I have a c++ plugin in QGIS which contains a treewidget. Now I want to get the keyPress-events. Until now I get this with the eventfilter described here My problem is, I want to use shortcuts like ...
1
vote
0answers
503 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
0answers
100 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 ...
1
vote
0answers
162 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
73 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 ...
1
vote
0answers
487 views

With QGIS, why use QT Designer tools for creating Slots/Signals/ etc, if plugin coding can do it alone

I am curious why there is facility within QT Designer to create signals and slots as, to my surprise, I did not need to do this. All of the necessary coding was accomplished completely within the ...
1
vote
0answers
192 views

Adding path to file containing photo on QT form using QGIS/PostGIS/PostgreSQL

I have just designed my first QT form. I have a spatial table in PostgreSQL, loaded into QGIS, I have set the "photo_link" column to be "photo" in the fields/widget section of the layer's properties. ...
1
vote
0answers
412 views

QGIS custom form and autocompleted data entering with “validation check”

In Qt-Designer I created a custom form where I can choose serveral species names in two different combo boxes. This combo boxes are linked via "value relation" to the accordant non spatial tables (...
1
vote
0answers
448 views

ArcGIS (ArcObjects) Windows 7 - 64 bit -support

I have been developing with ArcGIS Cross Platform C++ SDK (with Qt 4.8.2) on 32 bit Windows XP SP3 (development machine). I used to use MapTool Control within ArcObjects on the development machine. ...
0
votes
1answer
18 views

QGIS Plugin with DockWidget and MainWindow

For my QGIS Plugin, that I started with the QGIS Plugin Builder, I built a QDockWidget and populated it with some functions. Now I want to add a QMainWindow, since I need more space for further ...
0
votes
0answers
16 views

Qgis QtQuick integration?

I would like to use Qgis with QtQuick. I can use Qgis with QtWidget with the libs that i downloaded from OSGeo4W but there is no qtquick libraries in there. In Qgis's website there is a demo with ...
0
votes
0answers
36 views

QGIS adding a new custom layer

I am using QGIS and QtCreator and I have two questions: How to draw customized/complicated shapes with QGIS? How can I calculate the pixel values (to draw my own shapes) since I always have the real ...
0
votes
0answers
21 views

Tile package (.tpk) file opening issue on Qt

My aim is to give path of my .tpk file to the sdk as basemap. Issue is, I have exported the necessary .tpk file using ArcGIS Pro Trial version. However when I show the path of the .tpk to my program, ...
0
votes
0answers
16 views

Is there any prebuilt libraries for GeographicLib

I have been struggling to build GeographicLib for use in a Qt project and I was wondering if there is any version of the library that has already been built to work with Qt(minGw)?
0
votes
0answers
31 views

Developing QT application with QGIS

I want to develop C++ QT(widget or quick) application which uses QGIS. However, i could not find any resources about how to merge each other. Can you help me? Link, method, example etc. will be ...
0
votes
0answers
38 views

QT Designer SIGSEGV on Debian 10 and VirtualBox

Recently I updated my development virtual machine (VirtualBox) from Debian 9 to Debian 10. Except for a few minor bumps along the road, everything went smooth. But when I try to run QT Designer I got ...
0
votes
0answers
26 views

Calculating pitch and roll in ArcGIS Runtime?

For a more realistic movement it is necessary to calculate the roll and pitch. How can I do this by knowing the coordinates of two points? my code: void ViewshedGeoElement::animate() { // if (...
0
votes
0answers
569 views

How to display a Google Maps with Qt + QGIS

I am developing an application with Qt + QGIS. It will have a map component to be rendered by QGIS. The map needs to contain a base layer with Google Maps tiles and additional layers with data loaded ...
0
votes
0answers
475 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 ...
0
votes
0answers
261 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 ...