Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. qt creator compilation error with instruction <QtQuickWidgets/QQuickWidget>
Forum Updated to NodeBB v4.3 + New Features

qt creator compilation error with instruction <QtQuickWidgets/QQuickWidget>

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 628 Views 1 Watching
  • 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.
  • B Offline
    B Offline
    bvox123
    wrote on last edited by
    #1

    Good morning.
    Unfortunately I do not speak English, sorry (I translated this message with the google translator).
    In a trivial mainwindow.h generated automatically with qt creator, as soon as I insert the #include <QtQuickWidgets/QQuickWidget> statement, the compilation crashes with the following messages. How can I fix it? Thank you.
    0_1499322369020_Schermata del 2017-07-06 08-14-26.png

    raven-worxR 1 Reply Last reply
    1
    • B bvox123

      Good morning.
      Unfortunately I do not speak English, sorry (I translated this message with the google translator).
      In a trivial mainwindow.h generated automatically with qt creator, as soon as I insert the #include <QtQuickWidgets/QQuickWidget> statement, the compilation crashes with the following messages. How can I fix it? Thank you.
      0_1499322369020_Schermata del 2017-07-06 08-14-26.png

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by raven-worx
      #2

      @bvox123
      add QT += quickwidgets to your .pro file.
      Don't forget to rerun qmake.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      3

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved