Author Topic: Converting Qt 3.x application to Qt 2.x  (Read 2710 times)

jlbeck

  • Newbie
  • *
  • Posts: 5
    • View Profile
Converting Qt 3.x application to Qt 2.x
« on: May 28, 2004, 09:26:31 pm »
I bought my zaurus to do one thing. I was going to write a custom application
to program my handheld radio scanner. I knew I had to use Qt and c++.
I bought the \"C++ GUI Programming  with Qt3\" book and got to work.

I laid out the GUI using designer and have the application working great under
Suse 9.0. I\'ve installed the cross-compilers and now I learn that the zaurus
uses Qt 2.x and that the cross compile environment doesn\'t understand the
files from designer.

Is there an easy way to convert these files to work with the cross-compile
environment?

lpotter

  • Sr. Member
  • ****
  • Posts: 450
    • View Profile
    • http://qtopia.net
Converting Qt 3.x application to Qt 2.x
« Reply #1 on: May 29, 2004, 04:19:12 pm »
It all depends on what classes and functions you used.  You can manually run uic from on the .ui files, and use the header and cpp file form that, instead of the ui files.
If there is essential stuff from Qt 3 you need, you may have to import the classes from Qt3 to your project, which may be quite some work. It\'s best to go through your app, and use things from Qt/E2.
Software Engineer, Systems Group, MES, Trolltech
irc.freenode.net #qtopia
http://qtopia.net

jlbeck

  • Newbie
  • *
  • Posts: 5
    • View Profile
Converting Qt 3.x application to Qt 2.x
« Reply #2 on: May 29, 2004, 08:22:35 pm »
I\'m not doing anything fancy. Just QTextStream, QMap, Qtable. Looks like I
have another steep learnig curve ahead of me.

Is there anyplace I can learn about uic, moc ...