##// END OF EJS Templates
oops. Forgot to move the 'build' directory....
ezust -
r1:0e5cc70bee0a
parent child
Show More
@@ -0,0 +1,15
1 # profile for non-mevis users to link to PythonQt
2
3 include ( python.prf )
4
5 INCLUDEPATH += $$PWD/../src
6
7 # check if debug or release
8 CONFIG(debug, debug|release) {
9 DEBUG_EXT = _d
10 } else {
11 DEBUG_EXT =
12 }
13
14 win32::LIBS += $$PWD/../lib/PythonQt$${DEBUG_EXT}.lib
15 unix::LIBS += -L$$PWD/../lib -lPythonQt$${DEBUG_EXT}
@@ -0,0 +1,13
1 # profile for non-mevis users to link to PythonQtGui
2
3 INCLUDEPATH += $$PWD/../extensions/PythonQtGui
4
5 # check if debug or release
6 CONFIG(debug, debug|release) {
7 DEBUG_EXT = _d
8 } else {
9 DEBUG_EXT =
10 }
11
12 win32::LIBS += $$PWD/../lib/PythonQtGui$${DEBUG_EXT}.lib
13 unix::LIBS += -L$$PWD/../lib -lPythonQtGui$${DEBUG_EXT}
@@ -0,0 +1,18
1
2 # depending on your Qt configuration, you want to enable or disable
3 # one of the release/debug builds (if all three lines are commented,
4 # the default of your Qt installation will used)
5
6 # build with both debug and release mode
7 #CONFIG += debug_and_release build_all
8
9 # build with release mode only
10 #CONFIG += release
11
12 # build with debug mode only
13 #CONFIG += debug
14
15 # for all debug builds, add "_d" extension to target
16 CONFIG(debug, debug|release) {
17 TARGET = $${TARGET}_d
18 }
@@ -0,0 +1,42
1 # profile to include and link Python
2
3 # Change this variable to your python version (2.3, 2.4, 2.5)
4 win32:PYTHON_VERSION=25
5 unix:PYTHON_VERSION=2.5
6
7 macx {
8 # for macx you need to have Python development kit installed as framework
9 INCLUDEPATH += /System/Library/Frameworks/Python.framework/Headers
10 LIBS += -F/System/Library/Frameworks -framework Python
11 } else:win32 {
12 # for windows install a Python development kit or build Python yourself from the sources
13 # Make sure that you set the environment variable PYTHON_PATH to point to your
14 # python installation (or the python sources/header files when building from source).
15 # Make sure that you set the environment variable PYTHON_LIB to point to
16 # the directory where the python libs are located.
17 #
18 # When using the prebuild Python installer, this will be:
19 # set PYTHON_PATH = c:\Python25
20 # set PYTHON_LIB = c:\Python25\libs
21 #
22 # When using the python sources, this will be something like:
23 # set PYTHON_PATH = c:\yourDir\Python-2.5.1\
24 # set PYTHON_LIB = c:\yourDir\Python-2.5.1\PCbuild8\Win32
25
26 # check if debug or release
27 CONFIG(debug, debug|release) {
28 DEBUG_EXT = _d
29 } else {
30 DEBUG_EXT =
31 }
32
33 win32:INCLUDEPATH += $(PYTHON_PATH)/PC $(PYTHON_PATH)/include
34 win32:LIBS += $(PYTHON_LIB)/python$${PYTHON_VERSION}$${DEBUG_EXT}.lib
35
36 } else:unix {
37 # on linux, python-config is used to autodetect Python.
38 # make sure that you have installed a matching python-dev package.
39
40 unix:LIBS += $$system(python$${PYTHON_VERSION}-config --libs)
41 unix:QMAKE_CXXFLAGS += $$system(python$${PYTHON_VERSION}-config --includes)
42 }
General Comments 0
You need to be logged in to leave comments. Login now