Na tej strani

Odpri terminal

Če želite odpreti pogled » Terminal «:

  • Pojdite na » View « > » Output « in nato izberite » Terminal «.
  • Izberite pogled izhoda » Terminal «.
  • Izberite Alt+5 (ali Cmd+5 v sistemu macOS).
  • Za aplikacijo izberite » Run in Terminal « v » Projects « > » Run Settings « in nato zaženite aplikacijo.
  • Izberite gumb » Open Terminal « v meniju » Projects « > » Build Settings « > » Build Environment «.

Terminal

Ogled izhodnih podatkov v terminalu

  • Če želite v terminalu izbrati besedo, dvokliknite nanjo.
  • Če želite izbrati celotno vrstico, trikrat kliknite nanjo.
  • Če želite izbrati vse besedilo, v kontekstnem meniju izberite » Select All « ali pritisnite Ctrl+A.
  • Če želite odpreti povezave v brskalniku, datoteke v urejevalniku ali mape v pogledu »Projekti«, se z miško pomaknite nad njih in pritisnite tipko Ctrl.
  • Če želite iskati v izhodnih podatkih, pritisnite Ctrl+F.

Zagon ukazov » Qt Creator « iz terminala

Če želite v terminalu uporabiti možnosti ukazne vrstice programa » qtc «, vnesite:

qtc [option] [filename[:line_number[:column_number]]]

Če želite ogledati možnosti, vnesite:

qtc -help

Vstavite spremenljivke Qt Creator

Če želite v terminal vstaviti razširjene vrednosti spremenljivk » Qt Creator «, jih izberite na seznamu » Insert Macro Variable «.

Nastavite nastavitve bližnjic na tipkovnici

Večina bližnjic na tipkovnici v programu » Qt Creator « je v terminalu onemogočena, razen tistih za odpiranje nastavitev terminala ali iskalnika ter za zapiranje programa » Qt Creator «. Da bližnjice na tipkovnici v programu » Qt Creator « ne bi motile delovanja terminala, izberite » Blagajniške bližnjice v programu Qt Creator imajo prednost. «.

Če želite, da tipka Escape pošlje signal v terminal namesto da zapre terminal, izberite » Shift+Esc «. Če želite to nastaviti kot privzeto obnašanje, pojdite v » Preferences « > » Terminal « > » Block shortcuts in terminal «.

Nastavitve terminala

Zagon terminala v ločenem oknu

Če želite odpreti terminal v ločenem oknu, pojdite na » Preferences « > » Terminal « in počistite polje » Use internal terminal «.

Uporaba sistemskega terminala v sistemih Linux in macOS

V sistemih Linux in macOS lahko nastavite, da se terminal odpre samodejno, tako da izberete » Preferences « > » Environment « > » System «.

Glejte tudi Uporaba spremenljivk » Qt Creator «, Ogled izhodnih podatkov, Možnosti ukazne vrstice in Tipkovniški bližnjice.

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.