Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. why i must include "Qtwidget/" in some project?
Forum Updated to NodeBB v4.3 + New Features

why i must include "Qtwidget/" in some project?

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
2 Posts 1 Posters 142 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.
  • Q Offline
    Q Offline
    qazaq408
    wrote 21 days ago last edited by
    #1

    qt5.15 + vs2019

    i create some Qt projects, int most time , i only write #include 'QDialog'. But a few Projects, i need to write "#include 'QtWidgets/QDialog' ",if i write "#include ' QDialog' ", vs2019 tell me "Can't open file 'QDialog' ".

    i confirm (many times) i had set the vs2019, "Proprety->Qt Project Settings->Qt Modules", and selected "core;gui;widget".

    So why i must use "QtWdiget/QDialog" but not "QDialog" int a few projects?

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qazaq408
      wrote 21 days ago last edited by
      #2

      i get it,set system path

      1 Reply Last reply
      0
      • Q qazaq408 has marked this topic as solved 21 days ago

      1/2

      12 Jun 2025, 01:11

      • Login

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