4

Unable to see Windows command.exe when running my Qt application

 3 years ago
source link: https://www.codesd.com/item/unable-to-see-windows-command-exe-when-running-my-qt-application.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Unable to see Windows command.exe when running my Qt application

advertisements

I am currently using VS2010 (with Qt addin). I have run the Hello World Qt example and it works. I get a window where "Hello world" is written. But I can't see the command.exe window. When I use:

std::cout << "Windows command test!" << std::endl;

Nothing happens, why is it so?


Because you are using wrong project template.

The Hello world example that you have successfully built was using Qt Application project.

If you'd like to use the command prompt, open a Qt Console Application instead.

(picture is from google)

A5Du2.png

Related Articles

Unable to see the debug output when running the Android emulator

I've setup android in eclipse according to this tutorial. I downloaded the android sdk zip file from here and unzipped it to my c drive. Android sdk 2.3.3 api level 10 is installed and I have setup an android virtual device in the android SDK and AVG

Is there a way to see the print message when running an Android application?

Is there any way to see the printing message (eg: Log.i('', '')) while running Android app in Android phone ? (not in emulator).You can view the log exactly in the same way as you'd view the emulators log. Either using the the Eclipse's ADT logcat vi

Multi-processor compilation of VS2015 product & lquo; insufficient quota is available to process this command & quot; when running cl.exe

We are running automated Jenkins builds on Amazon servers (Windows Server 2012 R2) for a few Visual Studio solutions. The bigger projects in them are configured with the /MP, use multi processor compilation, attempting to minimize build time. We run

Java command failed when running NLTK StanfordParser

EDITED Thanks to Alvas' answer. I just learned that the following problem is caused by the 'not-so-up-to-date' NLTK since the latest 15-12-09 StanfordNLP requires more dependencies than previous versions. The exact solution to this problem is within

How do I ignore the Windows error prompt when running the program?

I have a program running on Windows cmd and when the program throws an error it keeps waiting for user input to either ignore/continue or cancel, but i have this batch file wich restarts the program automatically on error but since it keeps waiting f

InteropServices COMException when running a .net application from a CGI Web script on Windows Server 2003

Disclaimer: I'm completely clueless about .net and COM. I have a vendor's application that appears to be written in .net and I'm trying to wrap it with a web form (a cgi-bin Perl script) so I can eventually launch this vendor's app from a separate co

bash changes the execution command order when running jenkins

I am using git log to update a release_notes for my project. When I run the script below on my mac laptop everything works as expected, when I run on jenkins running on centos I see the following as the execution order: script ... FILE=RELEASE_NOTES

Django custom management command error when running via cron

I have a custom command that checks an email account and downloads and parses emails. The details about it are not relevant to this problem. When I run this command from the shell, like: cd /project_dir ./manage.py check_mail It runs fine every time.

Zend_Test_PHPUnit_ControllerTestCase and Zend_Layout, unable to find the layout plugin when running the tests

I am starting to write some test cases for controller classes using Zend Framework 1.10.6 and Zend_Test_PHPUnit_ControllerTestCase. I am having problems with one item, which is that while the test cases are running, Zend_Controller_Action_HelperBroke

Getting Unable to Load the 'IDEFoundation' Framework When Running the Xamarin Form Application

I'm getting the following error while running Xamarin form application. I've installed Xcode-beta 8. Can anyone please help? Failed to launch the simulator: Could not load the framework 'IDEFoundation' (path: /Users/apple/Downloads/Xcode.app/Contents

HRESULT exception: 0x800700C1 when running the c # application referencing native c ++ lib with boost

I am running a C# application that references a C++\CLI wrapper project which in turn references a native c++ project dependent on Boost 1.47 library (links to files of the form ...vc100-mt-gd-1_47.lib) All libraries are statically linked and everyth

Ajax calls fail when running Android Cordova application in Release mode

AJAX calls fail when running the app in release mode on Android (works on iOS). This is the error (a warning really) I see in the Chrome Dev Tools: Provisional headers are shown Request URL:https://server.com/api/index.php?ticket=ST-111111-ABCDEFG-ca

Generation error on Zapp when running an iPhone application (with KIF testsuites)

I am working on a sample project for testing KIF framework and Zapp. The project (with Directory scheme and Integration Tests scheme) builds fine on XCode and runs on Simulator. The GitHub url for the project is here: https://github.com/dolphyfernand

PropertyAccessorFactory NoClassDefFoundError When Running the Spring Application

I am facing below exception when initializing the spring application? I dont have a clue what jar is missing. I have below jars in my classpath, spring-2.5.jar spring-test-2.5.jar spring-webmvc-2.5.5.jar standard-1.1.2-sources.jar jstl-1.2.jar common

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK