[Qt-interest] #include <Phonon/...> or <phonon/...> ?

Josiah Bryan jbryan at productiveconcepts.com
Thu May 13 14:32:26 CEST 2010


Bottom line: Docs say "Phonon", but the Qt include folder has "phonon" - 
which is correct?

More details:

(Running on linux here - hence the finickiness over case.)

When I #include <Phonon/...> (Say, Phonon/VideoWidget), I get a compiler 
error (Phonon/VideoWidget: No such file or directory). Fine, so I do 
either one of two things: Change case to match 'phonon' (lowercase), or 
keep it proper case (Phonon), and mudge the include path.

When I download the latest Qt 4.7 beta, 
qt-everywhere-opensource-src-4.7.0-beta1/include contains 'phonon' 
(lowercase) but most every other directory is 'proper case'.

But, the docs say to use the proper case:  #include <Phonon/VideoWidget>

(See http://doc.trolltech.com/main-snapshot/phonon-videowidget.html)

Now, I don't case WHAT I put - I just want to make sure its correct - so 
that when users download my source and compile, they don't have to futz 
with the include folders, "ln -s" or any other fudging.

Thanks!
-Josiah

--

-=-=-=-=-=-=-=-=-=-=-=-=-
Josiah Bryan
Productive Concepts, Inc.
jbryan at pciint.com
(765) 964-6009, ext. 224




More information about the Qt-interest-old mailing list