Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
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.
0
votes
1
answer
593
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 app(argc, … argv, true);
return 0;
}
and my Qt Creator project file is defined as:
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = qgis_test
TEMPLATE = app
CONFIG += c++11 …
1
vote
Accepted
QGIS C++ Hello World example crashing
After hours of trying out whatever I could think of, I finally found out that QGIS is not compatible with Qt 5.4. Hence, I managed to run a sample program compiled and linked against Qt 4.8.6. …