Określ ustawienia uruchamiania prototypu interfejsu użytkownik Qt Quick

Aby określić ustawienia uruchamiania aplikacji na urządzeniu uruchamiającym wybranym dla zestawu, przejdź do sekcji „ Projects ” > „ Run Settings ”.

Uwaga: W zestawiewybierz typ urządzenia „ Desktop ” jako urządzenie uruchamiające.

Ustawienia uruchamiania dla projektu prototypu interfejsu użytkownika Qt Quick

W poniższej tabeli podsumowano ustawienia uruchamiania projektów prototypu interfejsu użytkownika Qt Quick (.qmlproject).

UstawienieWartość
Override device QML ViewerQt QML Viewer do użycia.
Command line argumentsArgumenty, które należy przekazać do pliku wykonywalnego.
Main QML filePlik, z którego należy uruchomić Qt QML Viewer.
Use X11 forwardingWybierz program „ Use X11 forwarding ” i skonfiguruj jego opcję „ DISPLAY ”, aby wyświetlać zdalnie uruchomionego klienta X11 na lokalnym ekranie.

Zobacz także : Aktywowanie zestawów dla projektu, Konfigurowanie projektów do uruchamiania, Jak: Projektowanie interfejsów użytkownika w programie „ Qt Quick ”, Projektowanie interfejsu użytkownika w programie „Qt Quick ”, Projektowanie interfejsów użytkownika w programie „ Qt Quick ” oraz Zarządzanie zestawami.

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.