Qt only CPD.
Till expressed some concerns about how much effort it would take to convert the KDE CPD to a pure Qt app. Just to let eveyone know I have now removed all KDE calls from the core CPD code and I have a working Qt only CPD on my system.
There is still some stuff that needs to be done. The view-dialog test app
code still has some KDE widgets (KCmdLineArgs and KAboutData) that I will
remove tomorrow and the build will need to have kde references removed. I
will need to clean everything up as well but it actaully took less effort than I had thought to remove the KDE specific widgets from the CPD core code.
Hal
Great news. Please commit it to the BZR. You can already commit the changes on the core CPD. And after you finished the test app, commit these changes, too.
Till
Quoted 16 lines · Hal V. Engel
Till expressed some concerns about how much effort it would take to convert the KDE CPD to a pure Qt app. Just to let eveyone know I have now removed all KDE calls from the core CPD code and I have a working Qt only CPD on my system.
There is still some stuff that needs to be done. The view-dialog test app code still has some KDE widgets (KCmdLineArgs and KAboutData) that I will remove tomorrow and the build will need to have kde references removed. I will need to clean everything up as well but it actaully took less effort than I had thought to remove the KDE specific widgets from the CPD core code.
Hal
Quoted 5 lines · Till Kamppeter
Great news. Please commit it to the BZR. You can already commit the changes on the core CPD. And after you finished the test app, commit these changes, too.
Till
Till & Lars,
I already have the test app using Qt calls only at this point since it only took about 1/2 hour to do. Since I have not used BZR before I will spend some time getting a handle on what I need to do and then commit the changes after doing a little clean up on the code. I will also see what I can do to clean up the build over the next day or two and then commit those changes.
Is there a todo document/list some place that covers what work is needed for the Qt CPD? Or is this something that we need to work out as things are getting underway?
Hal
Quoted 17 lines · Hal V. Engel
Quoted 15 lines
Till expressed some concerns about how much effort it would take to convert the KDE CPD to a pure Qt app. Just to let eveyone know I have now removed all KDE calls from the core CPD code and I have a working Qt only CPD on my system.
There is still some stuff that needs to be done. The view-dialog test app code still has some KDE widgets (KCmdLineArgs and KAboutData) that I will remove tomorrow and the build will need to have kde references removed. I will need to clean everything up as well but it actaully took less effort than I had thought to remove the KDE specific widgets from the CPD core code.
Hal
Quoted 6 lines · Hal V. Engel
I already have the test app using Qt calls only at this point since it only took about 1/2 hour to do. Since I have not used BZR before I will spend some time getting a handle on what I need to do and then commit the changes after doing a little clean up on the code. I will also see what I can do to clean up the build over the next day or two and then commit those changes.
A short introduction for using BZR you find here:
Quoted 3 lines
Is there a todo document/list some place that covers what work is needed for the Qt CPD? Or is this something that we need to work out as things are getting underway?
Here you find the TODO list of the whole project:
Till
Quoted 17 lines · Till Kamppeter
Quoted 6 lines · Hal V. Engel
I already have the test app using Qt calls only at this point since it only took about 1/2 hour to do. Since I have not used BZR before I will spend some time getting a handle on what I need to do and then commit the changes after doing a little clean up on the code. I will also see what I can do to clean up the build over the next day or two and then commit those changes.
A short introduction for using BZR you find here:
https://www.linuxfoundation.org/collaborate/workgroups/openprinting/databas
e/instructionsforcontributorsQuoted 3 lines
Is there a todo document/list some place that covers what work is needed for the Qt CPD? Or is this something that we need to work out as things are getting underway?
Quoted 6 lines
Here you find the TODO list of the whole project:
https://www.linuxfoundation.org/collaborate/workgroups/openprinting/plan-co
mpletion-common-printing-dialogTill
Thanks that helped. I think I commited my current changes. At least the messages I got looked like it worked. But it does not apear to show up in the web interface to the repository. But perhaps that needs some time to sync up. Please feel free to give the dialog a test run if it actually made it into the repository. The dialog looks and behaves just like the original version for the most part. Things related to this that still need to be done:
1. I did not do much with the cmake setup as I am far from an expert on how cmake does things and I wanted to get the rest of this checked in. So this still needs to be modified to remove kde references.
2. I had to add some icon files that where apparently included in KDE. An application resource needs to be created for these and the code modified to use the resource instead of the files.
3. The directory should probably be renamed from kde4-dialog to qt4-dialog.
Hal
Quoted 4 lines · Hal V. Engel
Thanks that helped. I think I commited my current changes. At least the messages I got looked like it worked. But it does not apear to show up in the web interface to the repository. But perhaps that needs some time to sync up.
Up to now nothing arrived. Did you use "bzr push ..." or the Patch Queue Manager (PQM)? Note that the requests send to the patch queue manager are not applied immediately, but by a cron job. Perhaps you only got confirmation of the submission and not of the actual application of your changes.
Quoted 5 lines
Please feel free to give the dialog a test run if it actually made it into the repository. The dialog looks and behaves just like the original version for the most part. Things related to this that still need to be done:
I will try the dialog a soon as I find it on the BZR.
Quoted 6 lines
1. I did not do much with the cmake setup as I am far from an expert on how cmake does things and I wanted to get the rest of this checked in. So this still needs to be modified to remove kde references.
Quoted 6 lines
2. I had to add some icon files that where apparently included in KDE. An application resource needs to be created for these and the code modified to use the resource instead of the files.
3. The directory should probably be renamed from kde4-dialog to qt4-dialog.
Can you please do these corrections to complete the change to Qt-only? I do not know, but is cmake KDE-specific or can it also be used for a non-KDE application like the pure Qt CPD?
Till