Gentoo Archives: gentoo-user

From: James Ausmus <james.ausmus@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /usr/bin/qt3to4 ?
Date: Fri, 01 Feb 2008 19:09:03
Message-Id: b79f23070802011108r34c1f9i260ac080a033b976@mail.gmail.com
In Reply to: [gentoo-user] /usr/bin/qt3to4 ? by maxim wexler
1 On Feb 1, 2008 10:43 AM, maxim wexler <blissfix@×××××.com> wrote:
2
3 > Hi group,
4 >
5 >
6 > Anybody familiar with qt3to4?
7 >
8 >
9 > From doctrolltech.com/4.0/porting4.html
10 >
11 >
12 > "To port code from Qt 3 to Qt 4:
13 >
14 > 1. Briefly read the porting notes below to get an
15 > idea of what to expect."
16 >
17 > They must mean up to number 6. because this page is
18 > certainly not "brief"
19 >
20 > "2. Be sure that your code compiles and runs well on
21 > all your target platforms with Qt 3."
22 >
23 > How?
24 >
25 >
26 > "3. Add the line QT += qt3support to your .pro file
27 > if you use qmake; otherwise, edit your makefile or
28 > project file to link against the Qt3Support library
29 > and add -DQT3_SUPPORT to your compiler flags. (You
30 > might also need to specify other libraries. See What's
31 > New in Qt 4 for details.)"
32 >
33 > What is qmake, it's not in portage. .pro file? What
34 > makefile?
35 >
36 > "4. Run the qt3to4 porting tool. The tool will go
37 > through your source code and adapt it to Qt 4.
38 > 5. Follow the instructions in the Porting .ui Files
39 > to Qt 4 page to port Qt Designer files.
40 > 6. Recompile with Qt 4."
41 >
42 > "Recompile with"? What does one recompile?
43 >
44 > "For each error, search below for related identifiers
45 > (e.g., function names, class names). This document
46 > mentions all relevant identifiers to help you get the
47 > information you need at the cost of being a little
48 > verbose."
49
50
51 This sounds like a tool for developers who use the Qt libraries to develop
52 applications - if they've developed their app against Qt3, and they want to
53 port it to Qt4, this is the steps they would take with their application
54 source code in order to do so.
55
56 HTH
57
58 -James
59
60
61
62
63 >
64 >
65 > Maxim
66 >
67 >
68 >
69 > ____________________________________________________________________________________
70 > Looking for last minute shopping deals?
71 > Find them fast with Yahoo! Search.
72 > http://tools.search.yahoo.com/newsearch/category.php?category=shopping
73 > --
74 > gentoo-user@l.g.o mailing list
75 >
76 >

Replies

Subject Author
Re: [gentoo-user] /usr/bin/qt3to4 ? maxim wexler <blissfix@×××××.com>