error C2027: use of undefined type 'QBufferPrivate'
-
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:
The error is in a moc-file. I can't even change something there.
I would really appreciate it if someone could help me!
-
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.
-
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?
-
And what project file did you open ?
-
The corelib.pro in C:\Qt\4.8.5\src\corelib.
-
But did you do a complete build before trying to fiddle with Qt in VS ?