Unsolved Problem in the execution of a program
-
Because I am reading a book where this version of Qt is used.I had also some time ago install the 5.1.0,5.2,5.1.1 version but I faced the same problem i don't know why.
-
Then the first thing you should do is to install a recent development environment.
How did you install Qt ?
-
By using the online installer.
-
Then, install the latest version of Qt and re-build your program from scratch with it.
If you still have the same error, then start it with through the debugger to see exactly which library is at fault.
-
ok,i will try to do that now!!
-
I've installed the 5.11 version of Qt,but i still have the same problem.
-
Do you have any application on your system that also came with Qt libraries ?
-
-
No, no application!!
-
I'm always facing the same issue!!
-
Just to be clear: is the application crashing when being run from inside QtCreator or when trying to run it from the outside of QtCreator ?
-
In the both cases it crashed!!
-
Hi
your application runs ok under windows 10 64 bit with Qt 5.4.2 MinGW and Qt 5.10.1 also for MinGW.
The only message from Qt shown when starting the application is:
setGeometry: Unable to set geometry 97x23+640+280 on QWidgetWindow/'QPushButtonClassWindow'. Resulting geometry: 120x23+640+280 (frame: 8, 31, 8, 8, custom margin: 0, 0, 0, 0, minimum size: 0x0, maximum size: 16777215x16777215).
However, that is no indication of a crash rather than merely less than a warning.
Since this does not reflect the messages from start of your thread, there must be something wrong with your setup and/or OS.
You need to give more details on your setup as already asked for isntance here https://forum.qt.io/topic/93810/problem-in-the-execution-of-a-program/4
-
For more details:I use Qt 5.11 ans Qt creator 4.7.0.I've installed Qt by using the online installer.The installation of Qt provided automatically Qt creator.I use MinGW as compiler.