Creare kit per dispositivi VxWorks

Per sviluppare applicazioni Qt per VxWorks, compilare Qt per VxWorks e creare un kit VxWorks.

Nota: Abilitare il plugin VxWorks per poterlo utilizzare.

Per creare un kit:

  1. Accedere a Preferences > Devices > VxWorks.

    Scheda "VxWorks" nelle preferenze "Dispositivi"

  2. In VxWorks installation folder, inserire il percorso della directory in cui il programma di installazione di WindRiver ha installato VxWorks.
  3. In " NFS export directory for VxWorks devices", inserire il percorso di una directory NFS condivisa con il dispositivo.
  4. Selezionare " Add Kit".
  5. In " Kit name", inserire un nome per il kit.

    Finestra di dialogo "Crea nuovo kit"

  6. In " Path", selezionare la cartella contenente qmake per la compilazione di Qt VxWorks.
  7. In " VSB path", inserire il percorso della directory di compilazione del codice sorgente VxWorks (VSB).
  8. In " Hostname", inserire il nome host o l'indirizzo IP del dispositivo.
  9. In " Username", inserire il nome utente per accedere al dispositivo.
  10. Selezionare " OK " per creare un kit VxWorks.
  11. Vai su " Projects " > " Build & Run " per attivare il kit per il tuo progetto.

Nota: per distribuire il pacchetto compilato, è possibile aggiungere una fase di compilazione alla configurazione di distribuzione del progetto che copi il binario compilato del progetto in una directory NFS condivisa con il dispositivo.

Vedi anche Abilitare e disabilitare i plugin, Come fare per: VxWorks, Sviluppo per VxWorks e Qt per VxWorks.

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.