Bug 547450 - qt-devel doesn't include files in ./include/QtSql/private
qt-devel doesn't include files in ./include/QtSql/private
Product: Fedora
Classification: Fedora
Component: qt (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Ngo Than
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2009-12-14 12:40 EST by Marie Henri Beyle
Modified: 2009-12-14 13:55 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-12-14 12:51:04 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
./include/QtSql/private/cachedresult_p.h (57 bytes, text/plain)
2009-12-14 12:40 EST, Marie Henri Beyle
no flags Details
../../../src/sql/kernel/qsqlcachedresult_p.h (3.13 KB, text/plain)
2009-12-14 12:42 EST, Marie Henri Beyle
no flags Details

  None (edit)
Description Marie Henri Beyle 2009-12-14 12:40:32 EST
Created attachment 378282 [details]

Description of problem:

Some header files from QtSql drivers include private files that are not in the bundle qt-devel.
For example, qsqlcachedresult_p.h is referenced in qsql_sqlite.h and compiler will never be able to find it unless it is copied manually from sources. 
In development package from Nokia, these files are in ../../../src/sql/kernel/[...].h and there are header files in include/QtSql/private that point to real private headers.

I don't know if this problem is a real problem and copy the files is the only thing that I can do to resolve the dependecies. I'm sorry if this question must go in another place.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.yum install qt-devel
Actual results:

/usr/include/QtSql/private/[file].h does not exist.

Expected results:

rpm-bundle that includes the dependencies.
Comment 1 Marie Henri Beyle 2009-12-14 12:42:01 EST
Created attachment 378284 [details]
Comment 2 Kevin Kofler 2009-12-14 12:51:04 EST
Applications are not supposed to include qsql_sqlite.h at all, they are expected to use the QSqlDatabase class (the public interface) instead. QSQLiteDriver is not documented at all and the documentation for the QSqlDriver base class says "This class should not be used directly. Use QSqlDatabase instead.". Applications cannot use undocumented classes.
Comment 3 Marie Henri Beyle 2009-12-14 13:55:50 EST
Ok. Thank you. I had unnecessarily included QSQLiteDriver in one source file in addition to the QSqlDatabase class. That was the real problem. Your comment has helped me to find the problem.
Excuse me for the inconveniences.

Note You need to log in before you can comment on or make changes to this bug.