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. How to add QtCore modules to application
Forum Updated to NodeBB v4.3 + New Features

How to add QtCore modules to application

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

    Hi, i've created shared library using qtcore module, and when i'm including headers in my application it signs wrong line with @ #incluide <QtCore/qglobal>@ no such file or directory. How can i add that module to widget app?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Max_a
      wrote on last edited by
      #2

      if i add @ qt5/ @ in that include, it shows errors in qglobal.h
      in some #includes too. Should i add @ qt5/ @ or what?

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andreyc
        wrote on last edited by
        #3

        Have you tried to use #include <QtGlobal> as JKSH suggested ?
        Do you try to port Qt4 to Qt5 ?
        What the errors do you have from a compiler ?

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andreyc
          wrote on last edited by
          #4

          There is a duplicate of the same question http://qt-project.org/forums/viewthread/50195/

          I close this thread.

          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