Results 1 to 10 of 10

Thread: linking user space and kernel space programs with qmake

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: linking user space and kernel space programs with qmake

    Quote Originally Posted by zielchri
    But can you tell me how I would go about compiling that?
    It should be enough to run "qmake && make" in the directory where rt.pro is located (if it doesn't want to work, you will have to run qmake in the frontend directory too).

  2. #2
    Join Date
    Mar 2006
    Posts
    5
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: linking user space and kernel space programs with qmake

    Hey thanks guys, it works now!!!!

    For anybody else interested or is having the same problem, the solution was to follow each suggestion listed above, as well as write a short script to copy the object file of the kernel program and the compiled program (above rt_client) into a seperate folder. There I also included a .runinfo file, which is necessary to load the real-time parts of rt_client (otherwise when I just ran ./rt_client no real-time sampling occured in my system). Once those three files were there I typed rtai-load at the command prompt (while in that folder) and the program ran just like it should!

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: linking user space and kernel space programs with qmake

    Quote Originally Posted by zielchri
    as well as write a short script to copy the object file of the kernel program and the compiled program (above rt_client) into a seperate folder.
    You can tweak above files to do the same automatically.

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
  •  
Qt is a trademark of The Qt Company.