Unsolved Problem in the execution of a program
-
Hi,I have tried to execute a program developped under Qt environment but it terminated always soudainly.When i execute the debbuging program of Qt,it is notified that: "DLL ENTRY POINT NOT FOUND,code 0x000139".I don't know how to resolve this problem.Please some help!!
-
Hi and welcome to devnet forum
You need to give typically a bit more information.
I guess you are using Qt creator to debug the application.
Try to "Run qmake" and try "Rebuild". Go to the project pan on the left and right click on the top most project name. Those entries shall appear then.
Alternatively you can go to the menu entry
"Build"->"Run qmake"
"Build"->"Rebuild all" -
I have done that but the same problem is still appearing.
-
Hi and welcome to devnet,
What application is that ?
Are the sources available ?
What version of Qt Creator are you using ?
What compiler ?
What version of Qt ?
How did you install all of that ? -
It's a simple application to show a dialog box.That's the source code of the main file:
#include <QApplication>
#include <QPushButton>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QPushButton bouton("Salut les Zéros, la forme ?");
bouton.setText("Pimp mon bouton !");
bouton.show();
return app.exec();
}Qt creator 4.7.0
MinGW 32bit
Qt 5.5
I've installed them by using the online installer -
Qt 5.5 ? Why that outdated version ? Current is 5.11 and LTS is 5.9.
-
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.