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. Using QSharedMemory in C++ project

Using QSharedMemory in C++ project

Scheduled Pinned Locked Moved General and Desktop
qsharedmemoryc++
4 Posts 2 Posters 1.3k 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.
  • M Offline
    M Offline
    Mue22
    wrote on 15 May 2015, 06:35 last edited by Mue22
    #1

    i want to using shared memory in Qt project and c++project.
    but in C++ project,

    #include<Qt/QtCore/qsharedmemory.h>

    i insert code like above, but in qsharedmemory.h,
    "#include<QtCore/qobject.h>" doesn't found. (no serch file or directory)

    what's the solution? plz help me...:(

    i can&#x27;t use english well...

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcosta
      wrote on 15 May 2015, 06:53 last edited by
      #2

      Hi and welcome to devnet,

      what do you mean with "C++ Project"??
      To use Qt objects you need a "Qt Project".

      Once your problem is solved don't forget to:

      • Mark the thread as SOLVED using the Topic Tool menu
      • Vote up the answer(s) that helped you to solve the issue

      You can embed images using (http://imgur.com/) or (http://postimage.org/)

      M 1 Reply Last reply 15 May 2015, 06:57
      0
      • M mcosta
        15 May 2015, 06:53

        Hi and welcome to devnet,

        what do you mean with "C++ Project"??
        To use Qt objects you need a "Qt Project".

        M Offline
        M Offline
        Mue22
        wrote on 15 May 2015, 06:57 last edited by
        #3

        @mcosta
        Thanks for your reply! :)

        um...i mean...."C++ project" is Non-QtProject. i use this as Background program..
        in Non-Qt project, i can't use qt class...? never..?

        is it non-sence?:(

        i can&#x27;t use english well...

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mcosta
          wrote on 15 May 2015, 07:19 last edited by
          #4

          Hi,

          to use Qt classes you need a Qt Project (set INCLUDE_PATH and link libraries); BTW you can implement the background program using Qt (without GUI)

          Once your problem is solved don't forget to:

          • Mark the thread as SOLVED using the Topic Tool menu
          • Vote up the answer(s) that helped you to solve the issue

          You can embed images using (http://imgur.com/) or (http://postimage.org/)

          1 Reply Last reply
          0

          1/4

          15 May 2015, 06:35

          • Login

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