Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. error C2027: use of undefined type 'QBufferPrivate'
Forum Updated to NodeBB v4.3 + New Features

error C2027: use of undefined type 'QBufferPrivate'

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
7 Posts 2 Posters 1.3k 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.
  • Q Offline
    Q Offline
    QtAndMore
    wrote on last edited by
    #1

    Deal all,

    I'm new to the world of Qt and still learning. Maybe my question is stupid, but I don't get it.

    I have an older project with Qt 4.8.5, which uses the QtCore4.dll. Now I have to change a bit in the dll.
    I just downloaded the original source code of Qt 4.8.5 from Qt website and tried to compile it with MSVC2008 and the Qt-msvc2008 Plug-In 1.1.9 without any changes by my side.

    I tried it in that way:

    • Open VS
    • open the project file of the dll in C:\Qt\4.8.5\src\corelib
    • Build Solution

    Now I get this:
    0_1542803722957_83b672bb-563c-4398-93b8-a43969b8e9f6-image.png

    The error is in a moc-file. I can't even change something there.

    I would really appreciate it if someone could help me!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by SGaist
      #2

      Hi and welcome to devnet,

      You can't do that like that. You have to follow the instruction on how to build Qt in the documentation.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • Q Offline
        Q Offline
        QtAndMore
        wrote on last edited by
        #3

        http://doc.qt.io/archives/qt-4.8/install-win.html

        I have done this installation progress before I tried it in the way I wrote. Or do you mean something different?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          And what project file did you open ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • Q Offline
            Q Offline
            QtAndMore
            wrote on last edited by
            #5

            The corelib.pro in C:\Qt\4.8.5\src\corelib.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              But did you do a complete build before trying to fiddle with Qt in VS ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • Q Offline
                Q Offline
                QtAndMore
                wrote on last edited by
                #7

                In the end I used command line to build the dll. Thanks for your help!

                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