Quantcast
Channel: Qt – Blog Inventic.eu
Browsing all 20 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Problem with Qt application on MacOS Retina display

Standard Qt application on retina display looks ugly. Fuzzy fonts and images. This is how ORM Designer originaly looks on Retina: ORM Designer on Retina before optimizations Improve font autoscaling...

View Article


Qt stylesheet guidance

Style sheets Qt Style sheets overview Qt Style sheet syntax Customizing Qt widgets using style sheet (boxmodel, draw info) Qt Style sheet reference (all widgets style properties) Qt Style sheet...

View Article


Image may be NSFW.
Clik here to view.

How to sign your Qt Mac OS X App for Gatekeeper

Starting from Mac os 10.8 apple applications requires certificate. Without that certificate (or without additional system tweaks described here on our product support page:...

View Article

Image may be NSFW.
Clik here to view.

GetTickCount64 problem on WindowsXP

The procedure entry point GetTickCount64 could not be located in the dynamic link library KERNEL32.dll Today we received report from one of our customers about problem with our ORM Designer on...

View Article

VS2010 always rebuilding moc files on Qt

My VS2010 on every build always recreate all .moc files and associated .cpp files. Problem was in incredibuild clausule during compilation of my Qt libraries.   <AdditionalInputs...

View Article


Qt app crash on mac when executed with parameters

Our reporting tool occasional crashed on MacOs when was executed with several command line params. Command looked like this: /app-path/OrmDesigner2 -crash-report -dump-directory...

View Article

How to create .pdb files also for Release version of Qt library

For debugging purposes it’s a good idea to keep .pdb files also for release version of your libraries. Unfortunately in default configuration Qt library doesn’t generate .pdb files. It’s a not big...

View Article

Image may be NSFW.
Clik here to view.

Qt5 application crashed with error 0xc0000005

This is very interesting crash and I think it should be considered as Qt bug. This problem arise only under very special circumstances. But one after another. You will identify this problem when your...

View Article


Qt5 application hangs-up when QNetworkAccessManager and QEventLoop is used on...

To be more specific, problem occurs only in very specific circumstances. It’s in situation, when application is compiled as console-app and it’s compiled on Mac OS X version older than 10.9: CONFIG -=...

View Article


Qt Creator debugger doesn’t work after last MacOS 10.9.4 update

Problem is caused by  lldbbridge.py file, where it’s necessary to update few lines. After that, debugger will work like charm. Qt Creator bug report lldbbridge.py patch

View Article

QDialog::reject can be invoked multiple times

When user use ESC to close the dialog and press it very quickly two or more times in a row, QDialog::reject can be invoked also multiple times. This is very dangerous and unpredictable because in case...

View Article

Image may be NSFW.
Clik here to view.

Crash in QTreeWidget / QTreeView index mapping on Mac OSX 10.10 part II

As mentioned in the first part of this article, the workaround with focus unfortunately didn’t work. In some cases application is still crashing. So after next hours of debugging and unsuccessful...

View Article

Image may be NSFW.
Clik here to view.

Crash in QTreeWidget / QTreeView index mapping on Mac OSX 10.10 part III

So, one more attempt. Previous articles (part1, part2) mentioned possible solutions to fix crash insinde the QTreeWidget and QAccessibleTableCell. Unfortunately, deselecting current item still doesn’t...

View Article


Qt – This application failed to start because it could not find or load the...

This application failed to start because it could not find or load the Qt platform plugin “windows”. As temporary fix, set following environment variable in VS...

View Article

Image may be NSFW.
Clik here to view.

Qt 5.5.0 an Qt 5.5.1, QWebEngine, QtWebKit and ICU

Notes about compiling QtWebEngine (instead of QtWebkit) together with Qt 5.5.1 Qt 5.5.0 configure switches for ICU: configure \ -icu \ -I Q:\SharedLibraries\icu4c-51_1\icu\include \ -L...

View Article


Qml & QtQuick

Qt documentation QML Data Models, Qml Model-view QML Data models real usage (blogpost) QtQuick examples (official Qt site) – lot of examples! QtQuick mouse-keyboard events handling QtQuick...

View Article

Debugging QML application

Batches, clip, changes and overdraw   SET QSG_VISUALIZE=batches or SET QSG_VISUALIZE=clip or SET QSG_VISUALIZE=changes or SET QSG_VISUALIZE=overdraw qmlviewer test.qml Links:...

View Article


QML Notes

Sources https://swanson.kdab.com/owncloud/index.php/s/TY9jG2D70ODOjUi F5 for instant reload,   class UltraView : public QQuickView { protected: void keyPressEvent(QKeyEvent*event) override {...

View Article

Microsoft defender false positive

Scan library/executable against several AVs: https://www.virustotal.com/gui/home Report false-positive to Microsoft AV: https://www.microsoft.com/en-us/wdsi Report false positive & other info...

View Article

Could not find the Qt platform plugin “xcb” in “”

Full error code: Library searching paths: - /home/dev/dev/SharedLibraries/qt/plugins qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "" This application failed to start because no Qt...

View Article
Browsing all 20 articles
Browse latest View live