Results 1 to 7 of 7

Thread: creating periodic processes in Qt

  1. #1
    Join Date
    Jul 2010
    Posts
    6
    Thanks
    1
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default creating periodic processes in Qt

    Hi all

    in a multi-process application, how to control periodicity of various Qt processes?

    generally Qt will block wait on XConnection for message, which we cant control.

    but if there are no messages from X server, i want process to sleep for definite time.

    please help me

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: creating periodic processes in Qt

    Is there a reason you want to do this? What are you trying to do?

    There may be (easier) alternatives.

  3. #3
    Join Date
    Jul 2010
    Posts
    6
    Thanks
    1
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: creating periodic processes in Qt

    yes, i am asking purposefully.

    i have a multi process application using light weight GUI implemented with svgalib.
    But now there is no support for svgalib to run on 2.6linux kernel.
    Hence i want to port my application on to X-Windows without losing timing performance given by various processes in my application.
    Three periodic processes of my application uses GUI.
    i want those tasks to be processes only, not QThreads.

    In this context i asked help !

  4. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: creating periodic processes in Qt

    You can compile svgalib to run on 2.6 Kernel and therefore keep your code the same. No need for X. You'll probably notice that /dev/svga is now called /dev/svga0, but a symlink will give you /dev/svga if you really need that particular name.

  5. #5
    Join Date
    Jul 2010
    Posts
    6
    Thanks
    1
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: creating periodic processes in Qt

    when i tried with svgalib 1.4.3 on 2.6 kernel, response is
    try vga_reset() and recompile everything with MAX_REGS set to 5564 in src/driver.h i.e to recompile svgalib.

    hence downloaded latest svgalib1.9.25 and tested vbetest also with various modes.

    Now GUI is compiled with new built static lib and it was fine.

    but when GUI is run, screen goes blank.

    the same GUI source code works fine with svgalib 1.4.3 and hence no bug with it.
    but svgalib 1.9.25 's test utilities also run fine.

    no reply i got from svgalib mailing list for this problem.

    thats how i was helpless and i wanted to get rid off all hardware related issues by choosing Qt on X-Windows

    please express your opinion

  6. #6
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: creating periodic processes in Qt

    So your application neither works under X-Windows or svgalib, so I don't know what I can do to help.

  7. #7
    Join Date
    Jul 2010
    Posts
    6
    Thanks
    1
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: creating periodic processes in Qt

    any idea by anybody to make qt process periodic is welcome

Similar Threads

  1. List of active processes
    By hamzeeco in forum Newbie
    Replies: 1
    Last Post: 12th July 2010, 15:11
  2. QWidgets and processes
    By mihaiadrian in forum Qt Programming
    Replies: 3
    Last Post: 19th May 2010, 16:38
  3. Replies: 0
    Last Post: 28th January 2010, 19:19
  4. Display from multiple processes in one GUI
    By abernat in forum Qt Programming
    Replies: 3
    Last Post: 17th September 2009, 20:08
  5. Enumerate processes using Qt
    By Ben.Hines in forum Qt Programming
    Replies: 5
    Last Post: 14th February 2006, 15:45

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.