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. Is qset.h header file generated implicitly by Qt creator?
QtWS25 Last Chance

Is qset.h header file generated implicitly by Qt creator?

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.7k 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.
  • Z Offline
    Z Offline
    Zxaver
    wrote on last edited by
    #1

    when i execute my simple Qt widget application following error is occurring frequently even though i have not included qset.h file.
    error:
    C:\Qt\Qt5.2.0\5.2.0\msvc2012_64\include\QtCore\qset.h:283: error: C1070: mismatched #if/#endif pair in file 'c:\qt\qt5.2.0\5.2.0\msvc2012_64\include\qtcore\qset.h'

    i would be glad to know about this qset.h file.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      welcome to devnet

      Please edit your post and give a meaningful title. Most of the posts are looking for help.

      "QSet is a class of Qt":http://qt-project.org/doc/qt-5/qset.html and qset.h is defining it.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        Zxaver
        wrote on last edited by
        #3

        Thanks koahnlg for your information.But i could not convince myself that even i have not included qset.h header file on my project it is still showing error in something else's header file.

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          qset.h is not implicitly included by qt creator.
          You might include it with another include file.

          However, you need to give more information. Some of your code would be helpful. Also What you have installed and the kind of compiler you are using.

          Crystal ball reading is often requested, but there is nobody in the forum good at it.

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0
          • Z Offline
            Z Offline
            Zxaver
            wrote on last edited by
            #5

            well i was designing apps that can store,add and delete contacts with name and address referring example which is already on Qt designer 5.2.0 which right now i am using.
            when i found that same error is occurring consistently then i copied exact code form Qt examples on my project and still showing error like this:

            main.obj:-1: error: LNK2019: unresolved external symbol "int __cdecl qInitResources_application(void)" (?qInitResources_application@@YAHXZ) referenced in function main

            by the way i am using visual c++ compiler 11.0

            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