forked from nomovok-opensource/cutedriver-agent_qt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.old
57 lines (42 loc) · 1.91 KB
/
README.old
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Build instructions for Qt agent (qttas):
Important note:
Mobility fixture is now default in the Agent_Qt, so now in Windows and Linux one needs to install mobility API.
If one needs to compile without mobility, "qmake -r CONFIG+=no_mobility" disables mobility fixture in Agent_Qt build.
1.0 version sources can be found from:
http://qt.nokia.com/products/appdev/add-on-products/catalog/4/new-qt-apis/mobility
Plain Qt:
1. qmake
2. make (mingw32-make)
3. make release (mingw32-make) (optional if you use release builds)
4. make install (mingw32-make release)
Orbit:
1. qmake "CONFIG+=orbit"
2. make (mingw32-make)
3. make release (mingw32-make) (optional if you use release builds)
4. make install (mingw32-make release)
Dui(Maemo):
1. qmake "CONFIG+=maemo"
2. make
3. make release (optional if you use release builds)
4. make install
Symbian (s60 port needed)
1. qmake / qmake "CONFIG+=orbit" (if orbit used)
2. bldmake bldfiles
3. abld build armv5 udeb (or what ever your target is...)
Notes:
Currently only debug or release builds are supported. Use one or the other.
Testability loading can be done in several methods:
1. Application loads the plugin
Implement the plugin loading inside the application. See documentation for more details.
2. Style plugin
By default the build will make a style plugin called "testabilitystyle" which will load testability.
The plugin is enabled in the command line: "yourapphere -style testabilityplugin"
(yourapphere naturally means the name of your app executable)
3. Testability plugin
By default the build will make a plugin called "testability" which will load testability.
Load the plugin in your app and call Initialize.
4. Orbit and Dui
Orbit and Dui applications load the plugin buy deafault so no action required.
Logging:
Create /logs/testability folder in your target machine to enable logging. Two logs will be created
one for qttasserver and one for the application under testing.