@@ -1,11 +1,11 | |||||
1 | # profile to include and link Python |
|
1 | # profile to include and link Python | |
2 |
|
2 | |||
3 |
# Change this variable to your python version (2. |
|
3 | # Change this variable to your python version (2.5, 2.6) | |
4 |
win32:PYTHON_VERSION=2 |
|
4 | win32:PYTHON_VERSION=26 | |
5 |
unix:PYTHON_VERSION=2. |
|
5 | unix:PYTHON_VERSION=2.6 | |
6 |
|
6 | |||
7 | macx { |
|
7 | macx { | |
8 | # for macx you need to have Python development kit installed as framework |
|
8 | # for macx you need to have the Python development kit installed as framework | |
9 | INCLUDEPATH += /System/Library/Frameworks/Python.framework/Headers |
|
9 | INCLUDEPATH += /System/Library/Frameworks/Python.framework/Headers | |
10 | LIBS += -F/System/Library/Frameworks -framework Python |
|
10 | LIBS += -F/System/Library/Frameworks -framework Python | |
11 | } else:win32 { |
|
11 | } else:win32 { | |
@@ -16,12 +16,12 macx { | |||||
16 | # the directory where the python libs are located. |
|
16 | # the directory where the python libs are located. | |
17 | # |
|
17 | # | |
18 | # When using the prebuild Python installer, this will be: |
|
18 | # When using the prebuild Python installer, this will be: | |
19 |
# set PYTHON_PATH = c:\Python2 |
|
19 | # set PYTHON_PATH = c:\Python26 | |
20 |
# set PYTHON_LIB = c:\Python2 |
|
20 | # set PYTHON_LIB = c:\Python26\libs | |
21 | # |
|
21 | # | |
22 | # When using the python sources, this will be something like: |
|
22 | # When using the python sources, this will be something like: | |
23 |
# set PYTHON_PATH = c:\yourDir\Python-2. |
|
23 | # set PYTHON_PATH = c:\yourDir\Python-2.6.1\ | |
24 |
# set PYTHON_LIB = c:\yourDir\Python-2. |
|
24 | # set PYTHON_LIB = c:\yourDir\Python-2.6.1\PCbuild8\Win32 | |
25 |
|
25 | |||
26 | # check if debug or release |
|
26 | # check if debug or release | |
27 | CONFIG(debug, debug|release) { |
|
27 | CONFIG(debug, debug|release) { |
General Comments 0
You need to be logged in to leave comments.
Login now