aboutsummaryrefslogtreecommitdiffstats

Qt Bridge — C

Pre-requisites

Visual Studio IDE

Tools and installation package

  1. Open qtdotnet.sln solution in Visual Studio
  2. Build tools and installation package
    • Select menu option: Build > Build Solution
    • Or press Ctrl+Shift+B

Auto-tests

  • View available tests
    • Select menu option: View > Test Explorer
    • Or press: Ctrl+E, T
  • Run tests
    • Select menu option: Test > Run All Tests
    • Or press: Ctrl+R, A

Examples

  1. Open examples.sln solution in Visual Studio
  2. Build example projects
    • Select menu option: Build > Build Solution
    • Or press Ctrl+Shift+B

Run example app

  1. In the Solution Explorer, right-click an example project
  2. Select context menu option: Debug > Start New Instance

Command Prompt

Tools and installation package

  1. Open a Command Prompt
    • Windows Start menu > Command Prompt
    • Or press ⊞ Win+R, then type cmd and press Enter
  2. cd to solution dir
  3. Build tools and installation package
    • > dotnet build

Auto-tests

  1. Stay in the solution dir
  2. Run tests
    • > dotnet test

Examples

  1. cd to the examples sub-dir
    • > cd examples
  2. Build example projects
    • > dotnet build

Run example app

  1. cd to example project sub-dir
    • E.g.: > cd Primes
  2. Run example app
    • > dotnet run