Solved Make .pro file Not working Object reference not set to an instance of an object
-
It's being developed in vs. 2019 environment, but whenever I create a pro file, a warning window pops up.
This is a warning window that appears when a .pro file is retrieved.
My environment hasn't changed and I was using it well a few days ago. I don't know what's wrong with me. Can you help me?
There's no problem building or running, so it's just a phenomenon that occurs when you create or export a .pro file. -
@IknowQT said in Make .pro file Not working Object reference not set to an instance of an object:
Is there any way to manually create a .pro file?
Of course. It's just a text file.
You can create a pro file by calling qmake with -project parameter. But you will most probably need to edit the generated file.
See for more details: https://doc.qt.io/qt-5/qmake-project-files.html -
@IknowQT said in Make .pro file Not working Object reference not set to an instance of an object:
but whenever I create a pro file
How do you create it?
Please post the generated pro file. -
It's being developed in vs. 2019 environment, but whenever I create a pro file, a warning window pop up.
I want to export the contents developed in vs2019 to qt creator, but I created the first project in vs2019, and I needed a pro file to move to qt creator, so I clicked create basic .pro file, but a warning appears and I can't proceed anymore -
@IknowQT Is your "Qt VS Tools" up to date?
-
Qt VS Tools version is 2.7.2 It's the latest version
Qt Version 5.15.2 -
@IknowQT Could be a bug. You can check https://bugreports.qt.io/secure/Dashboard.jspa whether it was already reported. If not you can file a bug report there.
-
Is there any way to manually create a .pro file?
-
@IknowQT said in Make .pro file Not working Object reference not set to an instance of an object:
Is there any way to manually create a .pro file?
Of course. It's just a text file.
You can create a pro file by calling qmake with -project parameter. But you will most probably need to edit the generated file.
See for more details: https://doc.qt.io/qt-5/qmake-project-files.html