8. Questions & Answers
Q: When compiling it gives the error:
 
         Computing dependencies for popmanager.cpp...
         In file included from popmanager.cpp:1:
         popmanager.moc:17: qmetaobject.h: No such file or directory

     Why won't it compile?
     A: You need to make sure you have qt 1.4 installed. Also, be sure you installed the
     qt developement libraries as well. These will be needed to compile and qt app.

     Q: Is qt 1.4 required or is there a qt 1.3 work around?
     A: QT 1.4 is REQUIRED! KNewMail uses a ListView to display the headers. This
     ListView is a new element of qt 1.4 so it must be installed. QT is shipped via rpms
     so upgrading should be a simple process!

     Q: KNewMail won't play a sound when I have mail waiting, what is the problem.
     A: As of KNewMail 1.7, in the sound options edit line, you need to put the name of
     the sound program to use followed by the path. The sound program must be in your
     path or you will need to enter the entire path to the app.

     Q: I ran KNewMail for the first time and it said there was no config file. I entered all
     the data into the config util and pressed OK, but the next time I started it, it said the
     same thing. Whats wrong?
     A: KNewMail attempts to create a directory called .knewmail in your home
     directory. There is the chance that this directory already exist and you don't have
     permission to get into it or to write to it. You need to make sure the directory can be
     created. Also, this error will show up if your conf file is corrupt. This may happen if
     you attempt to edit it by hand. Always use the config util to edit the conf file.

     Q: When I run binary dist of the program, I get the following error:

         /opt/kde/bin/knewmail: can't resolve symbol '__9QListViewP7QWidgetPCc'

     or, when I compile I get make errors saying that QListView is undefined. Whats
     wrong?
     A: Again, you need to be sure qt 1.4 is installed and 1.3 is completely removed from
     your system so make doesn't link to the wrong libraries. QListView is a element of
     qt 1.4, so it would seem that 1.4 is not properly installed if you are getting these
     errors.

     Q: When I attempt to make KNewMail, I get the following error:

         config.h:19: `struct QListT' redeclared as different kind of symbol
         /usr/lib/qt/include/qlist.h:134: previous declaration of `template <class type>
         class QListT<type>'

     What's wrong?
     A: You have an older version of KNewMail. This problem was caused by the
     double declaration of QList in the config.h header. To solve the problem, just
     download the newest version of KNewMail from
     www.slac.com/mpilone/knewmail_home/mainpage.html in which the problem was
     fixed.

     Q: What is in the future for KNewMail?
     A: At this point I am quite happy with the product. I imagine not much more will
     come of it unless someone sends me a great idea. I plan to spend the next couple
     weeks/months cleaning up my code and adding documentation to my headers.

 
Documentation written by Mike Pilone
All documentation and source code may be freely distributed
as long as it remains in the same format.