Qt IDE doesn't show output - c++

When i try to get my application output on terminal,It's get faile and don't show any things to me.
I am trying to change default terminal ,But problem not sloved!
Any idea?
My Qt version :
Qt Creator 2.5.2 Based on Qt 4.8.2 (32 bit)

Related

How to input the data in c++ in the latest version of qt for non qt projects on mac?

I am using the latest version of Qt creator in mac Catalina. I have used Qt in the past earlier. I am primarily using it to run non-qt applications in C++. The version of Qt creator is 4.11.1 based on Qt 5.14.1.
I am trying to run a program written in c++ which is accepting a simple input. However, I am not sure how to input the data. I tried inputting the data into application output window of Qt but the program doesn't stop. It gets stuck forever. The program doesn't exit at all.
I tried changing the terminal in Qt setting to Mac's terminal. It does work but I would like to input the data through default Qt terminal. Let me know how to make it work. Thanks

Unable to compile QT Create Quick Application Project

I am new to QT Creator and I have installed QT Creator 5.6.2 with MinGW 4.9.2 32bit. I have a problem compiling a quick application project as it always shows this error message:
Could not create directory "C:\Users\Hello\Documents\Error in " Util.asciify("build-untitled-Desktop_Qt_5_6_2_MinGW_32bit-Debug")": TypeError: Property 'asciify' of object Core::Internal::UtilsJsExtension(0xb05718) is not a function"
Error while building/deploying project untitled (kit: Desktop Qt 5.6.2 MinGW 32bit)
When executing step "qmake"
By chance I stumbled across the exact same issue today on a native Ubuntu computer and I found the solution here:
https://bugreports.qt.io/browse/QTBUG-59509
"Please go to Preferences > Build & Run > General and click "reset" behind "Default build directory". Looks like this is an incompatibility when using Qt Creator 4.3 without having used Qt Creator 4.2 before, and then going to Qt Creator 4.2 instead."
I thought to share the solution, because it seems to be a quite undocumented issue!
I am a beginer in QT but it is easy to solve...
Just go to Projects and change the content at Build Directory for a valid directory.
Good Luck

cannot compile any application in Qt5 on Windows7

I have installed Qt Creator 4.0.1 (based on Qt 5.6.1) on Windows 7 (64 bit), it finds two kits (Desktop Qt 5.6.1 MCVS2013 64bit2 and Desktop Qt 5.7.0 MCVS2013 64bit), both have two debuggers to choose (MinGW or Debugging tools for windows). So everything seems to be OK, but whenever I press Run for any simple application from examples, the Build indicator goes red, and then disappears, and the exe-file is not created, but IDE does not give any explanation to the reason why.
I'm new to Qt and really want to find out what I am doing wrong and get started with it. The error output is as follows:
Cannot find file: D:\рабочее\БГУИР\qt\first\myfirst\myfirst.pro.
12:30:54: The process "C:\Qt\5.7\msvc2013_64\bin\qmake.exe" exited with code 2.
Error while building/deploying project myfirst (kit: Desktop Qt 5.7.0 MSVC2013 64bit)
When executing step "qmake"
Maybe the Cyrillic charset causes the problem?
There has to be an output of some kind somewhere. If not under the debug tab "issues", then perhaps "Compile output".
I know that on Linux if you are running a QT example, you have to make sure you have made a copy of the code instead of running it in place. Otherwise, Qt will try to create a build folder under /opt and fail due to permission. You could also specify such a build folder when you configure the project. I am not sure whether on Windows it is going to be an issue, but it's a good place to check.
Hope this helps.

Missing compiler in Qt Creator

I recently installed Qt creator 2.8.1 online on my win Vista 32 bit machine.
To start with Qt I wrote simple pushbutton code. And when I tried to build it shows error message saying
Qt Creator needs compiler set up to build. Configure a compiler in kit
option
I tried with that Kit option din't work. what do I do?
PS Thank You
Simply refer to MINGW online install available at Qt's official downloads( http://download.qt-project.org/). You need not do anything. It will automatically detect an kits and will compile successfully.

QtCreator: process jom.exe exited with code 3

I had a working C++/Qt application. I updated MinGW, Qt and Qt Creator to the latest versions, and now I get an error at compile time. This error does not seem to be due to my code, but to the build system.
E.g.:
17:11:15: Running steps for project MyTest...
17:11:15: Starting: "C:\Qt\qtcreator-2.6.0\bin\jom.exe" clean
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
17:11:20: The process "C:\Qt\qtcreator-2.6.0\bin\jom.exe" exited with code 3.
In the project settings there is the message "qmake: No Qt version set. Cannot run qmake."
My source code is just what you get automatically when you create a new application.
I updated the system environment path with the new Qt and QtCreator directories.
I do not know what else to do...
Thank you!
---
Windows 7
MinGW
Qt 4.8.4
Qt Creator 2.6.0 (based on Qt 4.8.3 32 bit)
Please go to Tools->Options->Build & Run->Kits and check that there is a Qt version set up in the kit you are using.
If not, then check the Qt versions creator detected in Tools->Options->Build & Run->Qt versions. Is the version you want to use there? If not: Add it here.
Then return to the kits page and set one of the kits to use that version. Double check the other information while there.
Now you should be able to build your project. You might need to close/reopen it though.
Initial setup seems to be a bit bumpy... but it works really well once you get over that initial hurdle:-( There are quite some improvements in the next update for this. Check the Qt 5 RC2 packages, the creator included there already contain most of the fixes if you are curious).