-1
申し訳ありませんがn00b質問です。 メッセージHello Qt
を表示せずに、QT Creatorコミュニティのctrl + R
をクリックすると、すぐにプログラムがクラッシュします。 Windowsでkeep window open
のようなものを実行する必要がありますか? QMakeを使ってDebianを実行しています。 ありがとう!QT Creatorコミュニティ実行ウィンドウがすぐに閉じる
#include <iostream>
#include <fstream>
#include <sstream>
#include <cmath>
#include <cstdlib>
#include <initializer_list>
#include <string>
#include <list>
#include <vector>
#include <algorithm>
#include <stdexcept>
using namespace std;
int main() {
cout << "Hello Qt\n";
}
どうすればこの問題を解決できますか?どういうわけか
仕事をした、それは厳密に必要でない限り、それらを削除することをお勧めしないでください...ありがとう! –
'system(" pause ")'を使うこともできます(Windows固有)。これは、デバッグモードを実行している場合にのみ発生します。 –
@ andrey.s http://www.stroustrup.com/hello_world.c –