Watch, Follow, &
Connect with Us
Public Report
Report From: Kylix/IDE/Repository/New    [ Add a report in this area ]  
Report #:  3601   Status: Open
Blank data module uses QTypes which causes QT dependency
Project:  Kylix Build #:
Version:    3.0 Submitted By:   Jan Goyvaerts
Report Type:  Suggestion / Enhancement Request Date Reported:  2/24/2003 1:54:34 AM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   156302
Resolution: None  Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: (2 Total Ratings)
4.50 out of 5
Total Votes: None
A blank data module created with File|New|Data Module uses the QTypes unit.  This causes the application to depend on QT, even if it does not require QT at all.  An example is a console applicaton that uses a data module to hold some Indy components.

The application will not run on a system without Qt, such as a web server.  The solution, removing QTypes from the uses clause, is not obvious to people who are not Kylix experts.  So Kylix should not add QTypes automatically to data modules.
Steps to Reproduce:
1. File|New|Console Application
2. File|New|Data Module
3. Compile
4. Run on a system without QT.

You will get the typical overly cryptic error message indicating that the QT libraries could not be loaded.


Server Response from: ETNACODE01