Questions tagged [qt5.2]

Qt 5.2 is a version of cross-platform application development framework widely used for the development of GUI programs.

Qt 5.2 introduces the production-ready versions of Qt ports on Android and iOS completing Qt Everywhere message: Qt runs on all major desktop, embedded and mobile platforms!

Qt 5.2 lets you develop an application that runs natively on all of the following platforms:

Desktop: Windows, Mac OS X, Linux/X11, Solaris Embedded: Embedded Linux (DirectFB, EGLFS, KMS, and Wayland), Windows Embedded (Compact and Standard), Embedded Android, Green Hills Software INTEGRITY, QNX, Wind River VxWorks Mobile: Android, iOS, BlackBerry, Sailfish, WinRT*, Tizen* *Work in progress, technology previews

Information about new features in Qt 5.2 can be found here.

72 questions
0
votes
1 answer

QVariant::QVariant(Qt::BrushStyle) is private

The following piece of code produces error while compiling with Qt 5 styleComboBox = new QComboBox; typedef QPair BrushPair; foreach (const BrushPair &pair, QList() << qMakePair(tr("No Brush"),…
0
votes
1 answer

can not build qt 5.2 project in visual studio 2012 which uses openscenegraph after osg compile cmake

I am writing a QT 5.2 project in Visual Studio 2012. The project uses OpenSceneGraph 3.2(osg). Firstly I compiled osg with cmake. But It was difficult. Then I want to build QT project but following errors is given. 1> Moc'ing cadview.h... 1> The…
Burak Dağlı
  • 512
  • 2
  • 10
  • 33
0
votes
0 answers

QWidget's height became 0 after remove widget from layout and insert back

I have videoplayer written on Qt 5.2.1 with quite complicated organization of widgets and layouts inside. I want to fullscreen my player after user press F11 so i wrote code like: void SomeClass::setFullScreen(bool fullScreenModeOn) // SomeClass is…
serg.v.gusev
  • 501
  • 4
  • 13
0
votes
1 answer

Button doesn't perform action

I'm trying to perform action, when user clicks on button. My code is: #include "mainwindow.h" #include "ui_mainwindow.h" #include #include #include #include MainWindow::MainWindow(QWidget…
Sk1X1
  • 1,305
  • 5
  • 22
  • 50
0
votes
1 answer

How can you obtain a pointer to the native activity running your Qt Android app?

Like it was asked before, if you have that in you Qt code for Android: ANativeActivity* theActivity = ; ANativeActivity_setWindowFlags( theActivity, AWINDOW_FLAG_DISMISS_KEYGUARD, 0 ); How can you obtain a pointer to the…
Ganton
  • 208
  • 2
  • 10
0
votes
1 answer

Qt application asking for dlls which are not used

I have made a Qt application. I have copied the necessary dlls to the application folder such as QT5CORE.DLL , QT5GUI.DLL , QT5WIDGETS.DLL but the application is asking for dlls such as Qt5Positioning.dll, Qt5Sensors.dll, Qt5PrintSupport.dll,…
user221458
  • 716
  • 2
  • 7
  • 17
0
votes
0 answers

Multiply defined symbols found Qt3D

When trying to compile this project under Win7 with Visual Studio 2010 and Qt5.2/Qt3D, I'm getting the following error: error LNK1169: one or more multiply defined symbols found C:\OculusQt3D\oculusqt3d\build\Debug\OculusQt3D.exe 1 error LNK2005:…
Dreiven
  • 687
  • 3
  • 9
  • 22
0
votes
1 answer

QImage vs OpenGL Performance

I'm porting an old 4.8 application to 5.2.1 and back in that time, I used QImage to render some raw data on the screen, in a QLabel. I am grabbing images from a camera, so i want to display those images in real-time. Until now, with QImage, i…
madduci
  • 2,635
  • 1
  • 32
  • 51
0
votes
1 answer

Why using "&" when using QSqlDatabase make error (Qt 5.2)?

I always use below code to connect to a sqlite database. For some reasons, I have decided to rewrite it in a way that use *QSqlDatabase instead of QSqlDatabase. What I did was just to use & in front of my old code ( Line_12 ). But the code crashes…
Emadpres
  • 3,466
  • 2
  • 29
  • 44
0
votes
0 answers

How to use QtQuick 2.2 components when my complete project is in QtQuick 1.1?

My project was made using QtQuick 1.1 and when I try to change it using import QtQuick 2.2, it shows error module "QtQuick" version 2.2 is not installed import QtQuick 2.2. I want to use QtQuick 2.1 and QtQuick 2.2 components. How can I do so? I…
Jino
  • 345
  • 1
  • 2
  • 16
-1
votes
2 answers

In Linux Mint 17.2 (i.e. Ubuntu 14.04), how to make qt 5.4 as the default qt5 library version of programs?

I install the latest qt version from the official website http://www.qt.io/qt5-4/ successfully. I follow this tutorial http://sysads.co.uk/2014/05/install-qt-5-3-ubuntu-14-04 and install the qt 5.4 version. Besides, I have the Ubuntu repository…
jack_001
  • 1
  • 1
  • 7
-1
votes
2 answers

Qt renaming path of the project

sometimes when I rename the path to a qt project, it cannot be run even though I clean qmake and rebuild it!!! the path does not contain any space. and the project is completely correct and I know that the error is for path renaming , for example…
abdolahS
  • 663
  • 12
  • 35
1 2 3 4
5