Red Hat Bugzilla – Bug 65167
qt2 compatibility package doesn't provide qptrlist.h
Last modified: 2008-05-01 11:38:02 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.79 [en] (X11; U; Linux 2.4.18-4 i686)
Description of problem:
When trying to compile a program that ran on kde 2.x, the program will not
compile complaining of qptrlist.h: No such file or directory. This file is in
the qt3 libraries, but I assume that it should be in the qt2 libraries.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Try to compile a program that includes qptrlist.h (In this case, its
Actual Results: See above, it can't find the qptrlist.h in the qt2 library
Expected Results: The program should compile.
Looks like qpair.h is also missing from the qt2 libraries. This was an upgrade
from 7.2 to 7.3. When trying to run the program that was compiled under 7.2, in
partially runs, but some functionality is missing...this may or may not be
related to this error.
This is not a bug.
QPtrList is the new name for QList; qptrlist.h is a Qt 3.x specific include
If your application is really for Qt 2.x, it uses qlist.h instead.
Chances are you forgot to point QTDIR at the Qt 2.x directory, therefore the
configure script (if any) found you're using Qt 3.x, and tries to include the