Discussion Overview
The discussion revolves around issues related to setting up Qt programming environments on Debian-based Linux distributions, specifically Kubuntu Hardy Heron. Participants explore the organization of Qt libraries and includes, the necessity of compiling Qt from source, and the configuration of environment variables like QTDIR and KDEDIR for successful compilation of source code.
Discussion Character
- Technical explanation
- Debate/contested
- Homework-related
Main Points Raised
- One participant expresses frustration over the distribution of Qt libraries and includes across different directories, complicating the setting of QTDIR without compiling from source.
- Another participant suggests that it is unnecessary to compile Qt from source and recommends installing the development packages via Synaptic, mentioning the location of Qt in /usr/share/qt4.
- A later reply proposes using the configure script with a specific flag to set QTDIR, indicating that symlinks in the suggested directory can help the compiler locate the necessary libraries and includes.
- One participant notes that the issue arises primarily when compiling code from tutorials or books, as opposed to code that comes with a configure script.
- A participant later identifies that compile errors are related to KDE rather than Qt and mentions the need to set KDEDIR similarly to how QTDIR was set.
- Another participant confirms that setting KDEDIR resolved their issues and plans to add both QTDIR and KDEDIR to their PATH in their .bashrc file.
Areas of Agreement / Disagreement
Participants do not reach a consensus on the necessity of compiling Qt from source, as some argue it is unnecessary while others express a need for it due to library organization issues. The discussion includes both agreement on the solution for KDE and differing views on the initial problem with Qt.
Contextual Notes
Participants mention specific directory structures and configurations, but there are unresolved assumptions regarding the exact requirements for different projects and the implications of setting environment variables.