Ghost points in small app & question about using qt 2.0.1 libs.

Scott Seely scott.seely at eng.nciaccess.com
Thu Jan 6 16:40:07 GMT 2000


Jeremy,

Check you extra point counts.  My bet is that you do not get 10-15 extra
points, you only get multiples of the number of points you asked for.  Check
out the event that causes point generation and see how many times it gets
called.  Your next task is to figure out what event you really want to
respond to.

-----Original Message-----
From: Mailing list agent [mailto:mdom at barney.cs.uni-potsdam.de]On Behalf
Of Jeremy Webster
Sent: Monday, December 20, 1999 6:57 PM
To: kdevelop at barney.cs.uni-potsdam.de
Subject: Ghost points in small app & question about using qt 2.0.1 libs.



    Okay, I know this first question should probably be asked to the Qt
guys, but since I'm already subscribed here I was hoping someone might be
able to help me.

    I wrote a small application that generates random coordinates for, say,
10 points, then does a paint.drawPoint thingy to an empty window.  The
problem is that I seem to get "ghost" points - maybe 10 to 15 more points
than I actually asked for, especially near the edges.  Even more show up if
I drag another window (for instance a Netscape window) across my little
random point window.

    What's the deal?


    One other question.  Now that I have all the qt 1.44 libs working, how
do I make it so that I can also use the qt 2.0.1 libs?  I was going through
some of the toots over at Qt and they seem to really like qvbox.h and some
other things that apparently aren't in the 1.44 set.   I tried fiddling
around in the Project Options menu with no success.  Is any of this
documented anywhere?

I'm willing to bet you're going to get asked the "Why doesn't kdevelop
recognize my Qt libraries in Red Hat 6.1?" question about a thousand times
in the coming months.  It'd be a good thing to stick in a FAQ.

Thanks a million
Jeremy
jwebster at olemiss.edu







More information about the KDevelop mailing list