Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QtQuick App crashe - Qt 5.11.x MSVC-2017 Static build

QtQuick App crashe - Qt 5.11.x MSVC-2017 Static build

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 1 Posters 402 Views
  • 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.
  • dheerendraD Offline
    dheerendraD Offline
    dheerendra
    Qt Champions 2022
    wrote on last edited by
    #1

    Hi

    We have build Qt 5.11.x. using MSVC-2017. Qt build was successful. Kit is configured in Qt creator. Kit configuration, compiler, qmake everything is fine.

    1. I create default Qt Widgets application - Build is fine. Application runs. No issues.
    2. I create default Qt Quick Application - Build is fine. Application does not run. It just crashes.

    Any hints on why Qt Quick Application crashes with Qt 5.11.x static build ?

    Dheerendra
    @Community Service
    Certified Qt Specialist
    http://www.pthinks.com

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      If you build the application from Qt Creator using static kit, it will not work. Build the app from command line.

      1. Set the VC environment variables(check vcvars.bat x86 and run it)
      2. qmake test.pro
      3. nmake

      Now it will build and run.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      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