Hi Benoit, I know this is an issue with my code. The error only gets raised when trying to create a timer in a static method on my system. I need a class-wide timer for this simple project. However, I can't seem to get it to work for me.
Attached is a simple project. It is a modification of the LED component in df.measurement by Daniel Fuchs circa 2008 written for GB2. As always, thanks for your help! On Fri, May 9, 2014 at 12:36 AM, Benoît Minisini < gam...@users.sourceforge.net> wrote: > Le 09/05/2014 05:25, Randall Morgan a écrit : > > Hi Folks, > > > > I'm creating a simple component that requires two timers. The component > > uses gb.qt4. > > However, anytime I use the timers I get this error: QTimer can only be > > used with threads started with QThread. > > > > Any ideas how to solve this? > > > > I am running Ubuntu 12.04 with latest updates. > > > > Please provide a project that reproduces the error. > > Regards, > > -- > Benoît Minisini > > > ------------------------------------------------------------------------------ > Is your legacy SCM system holding you back? Join Perforce May 7 to find > out: > • 3 signs your SCM is hindering your productivity > • Requirements for releasing software faster > • Expert tips and advice for migrating your SCM now > http://p.sf.net/sfu/perforce > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take?
LedTest.tar.gz
Description: GNU Zip compressed data
------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs
_______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user