Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Polish
  4. Konsola wyświetla napis "naci" z każym uruchomieniem
Forum Updated to NodeBB v4.3 + New Features

Konsola wyświetla napis "naci" z każym uruchomieniem

Scheduled Pinned Locked Moved Polish
4 Posts 3 Posters 3.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Desson
    wrote on last edited by
    #1

    Coś takiego:
    http://scr.hu/0vcf/704xa

    Jest to strasznie irytujące, domyślam się, że to przez windowskowską konsolę, ale nie mam pojęcia jak ty zmienić :<

    Dzieje się to w przypadku uruchamianie zwykłego projektu c++ w Qt.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      A odznacz "Run in terminal" w ustawieniach projektu w Qt Creatorze, może pomoże.

      (Z(:^

      1 Reply Last reply
      0
      • D Offline
        D Offline
        Desson
        wrote on last edited by
        #3

        Wtedy w ogóle konsola się nie uruchamia :<

        1 Reply Last reply
        0
        • A Offline
          A Offline
          ariwez
          wrote on last edited by
          #4

          @#include <QCoreApplication>
          #include <iostream>

          using namespace std;

          int main(int argc, char *argv[])
          {
          QCoreApplication a(argc, argv);

          cout << "Hello world" << endl;
          
          return a.exec&#40;&#41;;
          

          }
          @

          W ten sposób konsola nie wyświetla "Naci" i przy okazji korzystasz z Qt ;)

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved