Results 1 to 9 of 9

Thread: Burning CD

  1. #1
    Join Date
    May 2007
    Posts
    106
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Burning CD

    Hi,

    I have a requirement to burn cds from my project created in QT. Have anyone come across any solutions to this sometime?

    Regards,
    Manoj

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Burning CD

    Apparently Qt has no support for this so you will have to look for 3rd party libraries to do that.
    J-P Nurmi

  3. #3
    Join Date
    May 2007
    Posts
    106
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Burning CD

    I agree, and I am researching on that. Do someone have a perfect tool in mind for this purpose? I am looking to use someone else's already done effort here!

  4. #4
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Burning CD

    Every platform will be different. Under most Unixes (including Linux) you can use cdrecord http://cdrecord.berlios.de/private/cdrecord.html.

  5. #5
    Join Date
    May 2007
    Posts
    106
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Burning CD

    How about Arson, QToaster or XCDR?

  6. #6
    Join Date
    Aug 2007
    Location
    Gorakhpur, India
    Posts
    254
    Thanks
    8
    Thanked 14 Times in 14 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Burning CD

    Quote Originally Posted by manojmka View Post
    How about Arson, QToaster or XCDR?
    Arson is open source front end CD recording tool in KDE Platform. for above version application you can use it with QProcess.
    Last edited by ashukla; 28th January 2008 at 10:18.
    Anurag Shukla
    A man who never makes mistake is the man who never does anything! Theodre Rosvelt!

  7. #7
    Join Date
    May 2007
    Posts
    106
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Burning CD

    Hi,

    Thank you very much for your time on this. I can see the same in the post from Yogesh and by chance I have the same requirement. The tool/library has to be called from within my GUI in software. I can not use it as a executable. Do someone has Arson or some other equvilant tool to be used with QT 4.X?

    Regards,
    Manoj

  8. #8
    Join Date
    Jan 2008
    Location
    Silicon valley
    Posts
    15
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Burning CD

    Quote Originally Posted by manojmka View Post
    Thank you very much for your time on this. I can see the same in the post from Yogesh and by chance I have the same requirement. The tool/library has to be called from within my GUI in software. I can not use it as a executable. Do someone has Arson or some other equvilant tool to be used with QT 4.X?
    I'm afraid it would be very hard to do.

    • First, most - if not all - cd recording GUI for Linux/Unix invoke other tools to do actual recording (mostly cdrecord, dvdrecord or growisofs). So that's another major chunk of code you'll need to include. Some call more than one program (for example, mkisoft and cdrecord), which means more work to do.
    • All the open-source CD/DVD core recording tools I know have GPL license, which means that you only could incorporate them in your source code if your program is released under GPL license.
    • The size and complexity of the source code of those tools might exceed the size of your project.
    • This could lead to maintenance and usability problems. For example, on some systems cdrecord has to be setuid root (or "burner" or whatever) so it could access the device. It works fine with all the GUIs since they just exec cdrecord, which has appropriate permissions. If the code is incorporated in your binary instead, this means that it has to be setuid root to work on the same system. This is probably the last thing which you want - asking sysadmins to setuid root your complex GUI app - and they would definitely hate this idea.
    • This could lead to stability issues. If the executed tool hangs or crashes, you know this isn't your problem. You could easily recover, and this will not affect the user-entereed data. If the 3rd party code crashed, and the code has been included in your app (and corrupted a stack before crash), you'll spend months trying to find those misterious crashes on user machines. And obviously there is no recovery possible.


    Do you know the reason to have such a requirement (to have it integrated on the source code level)?

  9. #9
    Join Date
    May 2007
    Posts
    106
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Burning CD

    Hi,

    This is really nice of you to be so descriptive. I think this is easily doable on windows using Nero library or something like Binary Magic. I wanted to achieve the same thing on Mac also.

    But after reading your post, it seems to be a real unnecessarily complex and job. The only intention behind integrating the source code in main project is to make user feel that CD Writing is also a part of the same application and not a third tool.

    May be, now I have only choice to use Binary Magic on Windows and something as a third party tool on Mac. Can you please suggest some tool to be used for this purpose?

    Regards,
    Manoj

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.