1 |
Hi group, |
2 |
|
3 |
|
4 |
Anybody familiar with qt3to4? |
5 |
|
6 |
|
7 |
From doctrolltech.com/4.0/porting4.html |
8 |
|
9 |
|
10 |
"To port code from Qt 3 to Qt 4: |
11 |
|
12 |
1. Briefly read the porting notes below to get an |
13 |
idea of what to expect." |
14 |
|
15 |
They must mean up to number 6. because this page is |
16 |
certainly not "brief" |
17 |
|
18 |
"2. Be sure that your code compiles and runs well on |
19 |
all your target platforms with Qt 3." |
20 |
|
21 |
How? |
22 |
|
23 |
|
24 |
"3. Add the line QT += qt3support to your .pro file |
25 |
if you use qmake; otherwise, edit your makefile or |
26 |
project file to link against the Qt3Support library |
27 |
and add -DQT3_SUPPORT to your compiler flags. (You |
28 |
might also need to specify other libraries. See What's |
29 |
New in Qt 4 for details.)" |
30 |
|
31 |
What is qmake, it's not in portage. .pro file? What |
32 |
makefile? |
33 |
|
34 |
"4. Run the qt3to4 porting tool. The tool will go |
35 |
through your source code and adapt it to Qt 4. |
36 |
5. Follow the instructions in the Porting .ui Files |
37 |
to Qt 4 page to port Qt Designer files. |
38 |
6. Recompile with Qt 4." |
39 |
|
40 |
"Recompile with"? What does one recompile? |
41 |
|
42 |
"For each error, search below for related identifiers |
43 |
(e.g., function names, class names). This document |
44 |
mentions all relevant identifiers to help you get the |
45 |
information you need at the cost of being a little |
46 |
verbose." |
47 |
|
48 |
Maxim |
49 |
|
50 |
|
51 |
____________________________________________________________________________________ |
52 |
Looking for last minute shopping deals? |
53 |
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping |
54 |
-- |
55 |
gentoo-user@l.g.o mailing list |