Questions tagged [qt5.3]

Version 5.3 of the Qt library, that is a cross-platform application development application and UI framework. Tag this only for the issues with Qt 5.3 not other versions.

Version 5.3 of the Qt library, that is a cross-platform application development application and UI framework.

More information about new features in Qt 5.3 is here

114 questions
2
votes
1 answer

Qt 5.3 full screen issue

I have a Qt application which runs on Ubuntu 12.04 Server with KDE plasma desktop. If I compile with Qt 4.8 full screen works as expected. With Qt 5.3, the window is getting bigger than the available resolution. If I set the resolution using the…
ramtheconqueror
  • 1,907
  • 1
  • 22
  • 35
2
votes
1 answer

Use Parse.com in a Qt Android App

I would like to have a background service running all time that register the device using the Parse API and emits Push Notifications, while having the main app developed in Qt with QML/JS. My question is: Is this possible? How can I do it? Is there…
2
votes
3 answers

Improving the quality of random number generation in Qt 5.3

I am currently implementing a random number generator in Qt5.3 as part of genetic algorithm experiments. I have tried several methods but the best seems to be: // Seed the random generator with current time QTime time = QTime::currentTime(); …
Adam893
  • 143
  • 1
  • 3
  • 16
2
votes
1 answer

QScrollArea clears background color

In my qss style sheet I define a background color #sw_MainMiddle { background: black; } Everything fine, but when I place a scroll QScrollArea in the sw_MainMiddle widget, the background color is gone. Obviously there is no chance to assign a…
Horst Walter
  • 13,663
  • 32
  • 126
  • 228
2
votes
0 answers

Qt xml: update attribute value identiefied by ID

I would like to update a single attribute value of the following xml file:
leatherwolf
  • 99
  • 1
  • 6
2
votes
1 answer

Disable secondary scroll button (tear indicator?) in QTabBar

I have a QTabBar looking like this. The screenshot does not show the arrow scroll buttons on its right side. What is the thing on left side called (looking like a torn edge)? It serves as a scroll left button. Is it the tear indicator? I found…
Horst Walter
  • 13,663
  • 32
  • 126
  • 228
2
votes
0 answers

Qt 5.3.1 introduced issue with QSqlTableModel and QSortFilterProxyModel

I am using QSortFilterProxyModel for a lot of data models and it worked fine. After updating from Qt5.3.0 to Qt5.3.1 this changed partly. One of my GUI panels uses a QTreeView attached to a QSortFilterProxyModel attached to a QSqlTableModel. The SQL…
Silicomancer
  • 8,604
  • 10
  • 63
  • 130
2
votes
1 answer

QtConcurrent crashes on reportResultsReady

Background In my Qt5.3 application I deal with several time consuming processes (statistical computations). In order to be able to operate with application, while one or more computations are running, I created class called ProgressManager. This…
Michal
  • 1,955
  • 5
  • 33
  • 56
2
votes
1 answer

Submitting Qt 5.3 app for Review on Mac App Store

For context, I am using Qt 5.3.1 with Xcode 5.1.1 on OSX 10.9. After some struggle, I was finally able to get my application's PKG file to upload through Application Loader and appear in my "Prerelease" build list for my App in iTunes Connect.…
Addy
  • 2,414
  • 1
  • 23
  • 43
2
votes
3 answers

Qt 5.3 Signals and Slots, Simple Function and Lambda Expression

I tried to Write a program using Qt 5.3 and I try to using signals and slots as practice. I wrote the following code (part of the code) : void exitToWin() { exit(0); } int main(int argc, char *argv[]) { QApplication a(argc,…
bahrami307
  • 59
  • 1
  • 9
1
vote
1 answer

QML enabled property and inheritance : disable parent and enable child?

I have a MyInnerRectangle component inside a MyRectangle. I want to be able to set MyInnerRectangle.enabled to true even if MyRectangle.enabled is set to false. Is that possible ? If yes how ? I may have misunderstood how enabled property works. I…
Benjamin
  • 490
  • 1
  • 5
  • 19
1
vote
1 answer

Qt Signal and slots not working as expected

When the socket times out while waiting for a read it occasionally fails. But when it does fail, it continuously fails, and the log message in slotDisconnected never gets reported despite mpSocket's disconnected signal being connected to…
Nodeocrat
  • 816
  • 2
  • 14
  • 29
1
vote
0 answers

qt5.3 tableview minimum size not work

i want to create calendar widget use qtableview. i test successful on Qt5.4, but on Qt5.3, the qtableview minimum size not work. i wanto to set fixed size 300 * 300 Qt5.4 is perfect,but in Qt5.3 tableview cant show completely:…
sbw
  • 65
  • 8
1
vote
0 answers

type mismatch in QT 5.3.0 compile on OSX10.10

I am using qt-everywhere-opensource-src-5.3.0, and trying to build it on OSX10.10. After configure, when I run "make -j", I get the following error: qcocoamenuloader.mm:177:22: error: cannot initialize a parameter of type 'NSInteger' (aka 'long')…
San Zhang
  • 155
  • 2
  • 9
1
vote
1 answer

Prevent QApplication app from closing if a service is running

I have a QML app in which I have subclassed QApplication to create my main screen with QML. The issue i have is on clicking Close button the application closes as intended, but I want to handle a situation where if some services are running I want…
prakashpun
  • 259
  • 4
  • 19