-
Notifications
You must be signed in to change notification settings - Fork 0
/
faq.ht
85 lines (70 loc) · 2.68 KB
/
faq.ht
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
Title: Frequently Asked Questions
<h1>PyQwt Frequently Asked Questions</h1>
<ol>
<li>
<a href="#Help"> <a>
</li>
<li>
<a href="#Black Adder">Can I use PyQwt and PyQwt3D with the Black Adder
integrated development environment?<a>
</li>
<li>
<a href="#Integration">How do I integrate PyQwt with the Qt Designer and
Eric?</a>
</li>
<li>
<a href="#Choice">Should I choose Numeric, numarray or NumPy?</a>
</li>
</ol>
<h5><a name="Black Adder">Can I use PyQwt and PyQwt3D with the <a
href="http://www.thekompany.com/products/blackadder/">Black Adder</a>
integrated development environment?</a></h5>
<p> No. The price of a professional or personal
<a href="http://www.thekompany.com/products/blackadder/">Black Adder</a>
license is much lower than the total price of a commercial license for
<a href="http://www.trolltech.com/products/qt/pricing.html">Qt</a> and
<a href="http://www.riverbankcomputing.co.uk/pyqt/buy.php">PyQt</a>,
but Black Adder does not provide the tools to build extensions modules like
PyQwt and PyQwt3D.
</p>
<h5><a name="Integration">How do I integrate PyQwt with the Qt Designer and
Eric?</a></h5>
<p> You have to install the Qwt library and the Qwt designer plugin. If you
have built PyQwt against a shared Qwt library, the designer plugin is probably
already installed. If you have built PyQwt against the slightly patched
version of Qwt included in PyQwt, you can either install the included Qwt
library (safest) or the official Qwt library matching PyQwt
(PyQwt-4.2.x matches with Qwt-4.2.0 and PyQwt-5.0.x with Qwt-5.0.y).
</p>
<p> Make sure that the Qwt designer plugin is linked against the correct Qwt
library. Try the ldd command (should work on most POSIX systems, but probably
not on MacOS/X):
<pre class="cli">
[packer@slow htdoc]$ ldd $QTDIR/plugins/designer/libqwtplugin.so \
| head -n 5
</pre>
The output shows that my setup is correct:
<pre class="cli">
linux-gate.so.1 => (0xffffe000)
libqwt.so.4 => /usr/lib/qt3/lib/libqwt.so.4 (0x40023000)
libqt-mt.so.3 => /usr/lib/qt3/lib/libqt-mt.so.3 (0x400be000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x407d6000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x407e6000)
[packer@slow htdoc]$
</pre>
</p>
<h5><a name="Choice">Should I choose Numeric, numarray, or NumPy?</a></h5>
<p><a href="http://numeric.scipy.org/">NumPy</a> is recommended for new code,
because Numeric and numarray are unmaintained.
Recent versions of PyQwt and PyQwt3D
support <a href="http://numeric.scipy.org/">NumPy</a>
(as well as <a href="http://numeric.scipy.org/">Numeric</a> and
<a href="http://www.stsci.edu/resources/software_hardware/numarray/">
numarray</a>).
</p>
<!--
Local Variables:
mode: HTML
fill-column: 79
End:
-->