Questions tagged [qt5.15]

48 questions
21
votes
3 answers

QML Connections: Implicitly defined onFoo properties in Connections are deprecated

I got the following error message when upgraded to Qt 5.15: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } The corresponding QML code is pasted…
Haozhe Xie
  • 3,438
  • 7
  • 27
  • 53
3
votes
0 answers

Qt 5.15 mingw missing debug dlls *d.dll in folder bin

i installed Qt Creator with Qt5.15 by Qt maintenance tool and i`m missing the debug dlls like QtCored.dll in my bin folder of mingw...what can i do?
Stebo
  • 31
  • 1
3
votes
0 answers

How to build cmake project for Android from terminal with Qt > 5.14

I can have download Qt source from git and checkout it to 5.15.2 and compiled it for android. I have created kit of it in Qt Creator and it successfully builds my app. But How can I do this in terminal without qt creator I have tried…
너를 속였다
  • 899
  • 11
  • 26
2
votes
0 answers

How to compare QVariant values in Qt 5.15?

Qt 5.15 has QVariant compare operators deprecated: #if QT_DEPRECATED_SINCE(5, 15) QT_DEPRECATED inline bool operator<(const QVariant &v) const { return compare(v) < 0; } QT_DEPRECATED inline bool operator<=(const QVariant &v) const {…
hyde
  • 60,639
  • 21
  • 115
  • 176
2
votes
1 answer

QtCreator 7.0.0 crashes with Qt version 5.15.2

I am QtCreator 7.0.0 for my Android developments. I am able to execute the app on QtCreator when I select version 5.12.9 for compilation. However, when I switch to Qt 5.15.2 as soon as I hit execute button the application crashes. Unfortunately, I…
2
votes
1 answer

How to get Qt application window size from a QML file which is not the QML where the root window is declared?

While I am in a random QML file which is not the parent main.qml, is it possible to get the Qt application window size? I know that I can declare the app window root in a global property like below and get the size anywhere. ApplicationWindow { …
TheWaterProgrammer
  • 7,055
  • 12
  • 70
  • 159
2
votes
0 answers

Render QWidget to PDF with selectable text

Assume a QWidget as a container for other widgets. The widgets in this container are a widget with layout QVBoxLayout that should show two columns of QLabel. After that there comes a new widget which is a QTableView. I now would like to render the…
tscheppe
  • 588
  • 5
  • 18
1
vote
0 answers

DelayHook Error for Qt_5_15_2_MSVC2019_32bit

I have an error that pops up on the application output when I run a project which says: [Error] DelayHook can't open TMUMH_DELAY_HOOKING_MUTEX, error code: 2 It keeps being printed on the application output every second or two. As far as I can see,…
Edward
  • 11
  • 2
1
vote
1 answer

No reply data with QNetworkAccessManager when running on another machine

I have a simple program that should retrieve the HTML from a website URL. main.cpp #include "Downloader.h" #include int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); auto dl = new Downloader(&a); …
1
vote
1 answer

Accessibility notification in Qt

I am trying to push notification to Jaws or NVDA when certain events occur. These events can occur any time and any application widget can have the focus. They are not linked to user actions but to the controller events. This is my try: void…
user6106573
  • 193
  • 2
  • 11
1
vote
0 answers

Problem with adding a new column to QSortFilterProxyModel: columns shift

I'm trying to add a column to a proxy model. Long story short, I'm adding a column in an overloaded setSourceModel method with an QSortFilterProxyModel::insertColumn() method. .h class CompoundItemsTableModel : public QSortFilterProxyModel { …
1
vote
1 answer

How to detect when a QML item's size change is complete or stopped?

I have a Qt app written against Qt 5.15.8. I have QML item declared on it. I know that following is a way I can figure out when my QML item is resized. Basically I get to know when width or height is changed. Item { id: my_item property…
TheWaterProgrammer
  • 7,055
  • 12
  • 70
  • 159
1
vote
1 answer

Which standard of regular expressions does Qt use?

I use https://regex101.com and https://www.regextester.com to check my regular expressions. I presume Qt uses PCRE or PCRE2, but sometimes it won't work as expected. This makes me think that Qt uses some other version of regex standard. Which is…
Mykola Tetiuk
  • 157
  • 3
  • 9
1
vote
1 answer

Qt QML Put element above a Drawer

I'm struggling with a very basic question.. Using QT 5.15.2: We have a simple application with one main window and 2-3 sub-window (1 level down from main). The main window consists of a content item, a header and some menu-flaps distributed across…
Nico
  • 151
  • 5
1
vote
1 answer

After running a project in Qt Debug build, the binary (exe) disappears and object files are shrunk. How to fix that?

My Qt Creator is 4.11 which is based on Qt 5.14 in Ubuntu 17.04. Due to ongoing development, I have not updated Qt Creator and Ubuntu to avoid disturbing the working setup. Whenever I run it in Debug build mode, it compiles fine and runs the…
iammilind
  • 68,093
  • 33
  • 169
  • 336
1
2 3 4