Solved Problems getting QT to work as Netbeans QTApplication on Windows 10
-
When i start or test an QT Application with qt creator standalone i have no errors. When i hit the debugging button in VS i get the message "Entry point not found" - "the procedure entry point ?hideEvent@QWidget@@MEAAXPEAVQHideEvent@@@Z could not be located in the dynamic link library C:\Users<myname>\source\repos\ApplicationName\x64\Release\ApplicationName.exe"
It seems to be an similar error like in netbeans.
I have qt<version>\bin; msys\1.0\bin and mingw/bin in my PATH
Is there anything else i need to add?Thanks
-
Wait, there's something fishy, you mention both Visual Studio and MinGW. Which one are you using ?
-
@SGaist Currently i use msvc2017_64 in VS. Bin GW is also installed but i use mingw only with netbeans. Are there any env vars i need to set?
Sry about so much questions but I cant understand whats going on with my VS or Netbeans -
Which plugin are you using with Visual Studio ? Did you start from a .pro file ?
As for netbeans, you can take a look at the environment variables in the Run part of the Project panel in Qt Creator.
-
I am using Qt Visual Studio Tools v2.6.0.7
I installed a new VS and QT(Online Installer) on a fresh Win 10 64bit VM
QT Creator works fine, again.
In VS i installed QT VS Tools and within VS QT Tools msvc2015 32 & 64 bit
After restated VS i created a new Qt Widget Project.
My execute error is gone away, yeahh !!! but 2 error left.I Hope you can help me
-
I would say that means that uic was not run to generate the code from your .ui files.
-
It works but i have to add the path to the ui_*.h file. Do i have to install uic manually?
-
uic is in the same folder as qmake.
You need an equivalent to a custom step that will run uic on your .ui files and generate the output in the build folder.
-
Finally i found my Solution :-)
It's a bit strange, but to make the error messages disappear, I just have to change something (no matter what) in the project settings and then click Apply. After that everything works ...the uic, moc and rcc files are created in the own folders in the ../x64/debug folder.
-
Great !
These generated files should go in the build folder so everything is fine.
Since you have it working now please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :-)
-
Thanks for your help