| View previous topic :: View next topic |
| Author |
Message |
ranran Xandrosian

Joined: 03 Nov 2004 Posts: 216
|
Posted: Fri Nov 19, 2004 5:59 pm Post subject: C++ question 2 - QT Programming |
|
|
I am interested in learning to program so I can write device drivers for scanners, and printers.
Can QT be used for this?
Any recommendations on books to learn programming?
Thanks for your help. |
|
| Back to top |
|
 |
jimallyn Site Admin

Joined: 31 Jan 2003 Posts: 8195 Location: Wenatchee, Washington, USA
|
Posted: Fri Nov 19, 2004 8:30 pm Post subject: Re: C++ question 2 - QT Programming |
|
|
| ranran wrote: | | Can QT be used for this? |
I think QT is mostly a toolkit for developing GUIs, so probably wouldn't be too useful for device drivers, which ordinarily don't have a "user interface". I've seen a couple of programming tutorials, some of the C/C++ specific, on the web, but didn't bookmark them. Probably a Google search would turn up plenty of information.
I commend your desire to write device drivers - we can always use more of that!
Jim |
|
| Back to top |
|
 |
ranran Xandrosian

Joined: 03 Nov 2004 Posts: 216
|
Posted: Sat Nov 20, 2004 5:14 pm Post subject: |
|
|
Thanks for the input! That's what I thought about QT but wasn't sure. I'll check into it via the web.
| Quote: | | we can always use more of that! |
True. I've got a Lexmark printer AND a Lexmark ALL in ONE - both work great on Win2000, but don't work on Linux. I figure this is one of the only reasons people like me have dual boot systems.
If (or when) I write these drivers..I can dump Windows. Oh Yeah, I have to port a dozen of my favorite apps to Linux, then I can dump MS altogether.  |
|
| Back to top |
|
 |
jimallyn Site Admin

Joined: 31 Jan 2003 Posts: 8195 Location: Wenatchee, Washington, USA
|
Posted: Sat Nov 20, 2004 6:58 pm Post subject: |
|
|
| ranran wrote: | I've got a Lexmark printer AND a Lexmark ALL in ONE - both work great on Win2000, but don't work on Linux......
Oh Yeah, I have to port a dozen of my favorite apps to Linux, then I can dump MS altogether. |
Some Lexmark printers do work in Linux, have you checked at www.linuxprinting.org to see if yours will? Also, I know a few people have found Linux drivers for Lexmark printers on the Lexmark web site. Those that I've seen are RPM files, but you may be able to install them with Xandros Networks.
What dozen apps do you need to port to Linux? Maybe we can find Linux equivalents that will do the job. (Or you could run those apps in Crossover or win4Lin.)
Jim |
|
| Back to top |
|
 |
ranran Xandrosian

Joined: 03 Nov 2004 Posts: 216
|
Posted: Sun Nov 21, 2004 11:55 am Post subject: |
|
|
| Quote: | | Some Lexmark printers do work in Linux, |
My Z23 is listed as a paper wieght and my X2250 isn't listed at all
| Quote: | | What dozen apps do you need to port to Linux? Maybe we can find Linux equivalents that will do the job. (Or you could run those apps in Crossover or win4Lin.) |
Regarding use of emulators -
I have used Wine and / or Crossover for the last 2 years, on and off. My major complaint is that their list of supported apps hasn't grown much in that time.
Win4Lin in my experience just bites. I feel it is better to run apps natively rather than use emulators. I have my work cut out for me. |
|
| Back to top |
|
 |
ranran Xandrosian

Joined: 03 Nov 2004 Posts: 216
|
Posted: Sun Nov 21, 2004 11:59 am Post subject: |
|
|
jimallyn wrote
| Quote: | | I've seen a couple of programming tutorials, some of the C/C++ specific, on the web, but didn't bookmark them. |
http://www.xml.com/ldd/chapter/book/bookindexpdf.html
The above link is to an E book on Linux decice drivers. |
|
| Back to top |
|
 |
arka Xplorer
Joined: 14 Jan 2006 Posts: 53 Location: Tokyo
|
Posted: Fri Apr 28, 2006 10:45 pm Post subject: |
|
|
I am not planning to write device drivers but just want to get started in some casual C/C++ coding on Linux (I come from a hardcore Windows background).
Glancing at this eBook, it seemed like a great place to get familiar with Linux programming generally.
In Chapter 2 it talks about Modules. Would these be the equivalent to DLLs that I am looking for, as per my question in the following thread?
http://forums.xandros.com/viewtopic.php?t=23487
Great find by the way, thanks! |
|
| Back to top |
|
 |
|