##// END OF EJS Templates
fixed install mistake on SocExplorer common
jeandet -
r46:d2e3b72ddd07 default
parent child
Show More
@@ -1,128 +1,128
1 SOCEXPLORER_ROOT = \"$${PWD}/../..\"
1 SOCEXPLORER_ROOT = \"$${PWD}/../..\"
2 include($${PWD}/../../build_cfg/socexplorer.pri)
2 include($${PWD}/../../build_cfg/socexplorer.pri)
3 include($${PWD}/lppserial/lppserial.pri)
3 include($${PWD}/lppserial/lppserial.pri)
4
4
5 TEMPLATE = lib
5 TEMPLATE = lib
6 TARGET = socexplorercommon$${DEBUG_EXT}
6 TARGET = socexplorercommon$${DEBUG_EXT}
7
7
8 win32:CONFIG += dll
8 win32:CONFIG += dll
9 win32:CONFIG -= static
9 win32:CONFIG -= static
10
10
11 win32:INCLUDEPATH += $${PWD}/elf/libelfWin32/include
11 win32:INCLUDEPATH += $${PWD}/elf/libelfWin32/include
12 win32:INCLUDEPATH += $${PWD}/elf/libelfWin32/include/libelf
12 win32:INCLUDEPATH += $${PWD}/elf/libelfWin32/include/libelf
13 win32:DEFINES+=_ELF_WINDOWS_
13 win32:DEFINES+=_ELF_WINDOWS_
14 DEFINES+=RS232_debug
14 DEFINES+=RS232_debug
15
15
16 win32:LIBS += $${PWD}/elf/libelfWin32/bin/libelf.a
16 win32:LIBS += $${PWD}/elf/libelfWin32/bin/libelf.a
17 unix:LIBS += -lelf
17 unix:LIBS += -lelf
18
18
19 QMAKE_LFLAGS_RELEASE += --enable-auto-import
19 QMAKE_LFLAGS_RELEASE += --enable-auto-import
20 QMAKE_LFLAGS_DEBUG += --enable-auto-import
20 QMAKE_LFLAGS_DEBUG += --enable-auto-import
21
21
22 target.path = $$[QT_INSTALL_LIBS]
22 target.path = $$[QT_INSTALL_LIBS]
23 isEmpty(target.path) {
23 isEmpty(target.path) {
24 error(can\'t get QT_INSTALL_LIBS)
24 error(can\'t get QT_INSTALL_LIBS)
25 }
25 }
26
26
27 header.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common
27 header.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common
28 header.files = \
28 header.files = \
29 memsizewdgt.h \
29 memsizewdgt.h \
30 qhexspinbox.h \
30 qhexspinbox.h \
31 qsvgicon.h \
31 qsvgicon.h \
32 qhexedit/qhexedit_p.h \
32 qhexedit/qhexedit_p.h \
33 qhexedit/qhexedit.h \
33 qhexedit/qhexedit.h \
34 qhexedit/xbytearray.h \
34 qhexedit/xbytearray.h \
35 QCustomPlot/qcustomplot.h \
35 QCustomPlot/qcustomplot.h \
36 SocExplorerPlot.h \
36 SocExplorerPlot.h \
37 tcp_terminal_client.h \
37 tcp_terminal_client.h \
38 elf/elfinfowdgt.h \
38 elf/elfinfowdgt.h \
39 elf/elfparser.h \
39 elf/elfparser.h \
40 elf/elffile.h \
40 elf/elffile.h \
41 elf/elffilewidget.h \
41 elf/elffilewidget.h \
42 qipdialogbox.h \
42 qipdialogbox.h \
43 lppserial/src/RS232.h \
43 lppserial/src/RS232.h \
44 qtablewidgetintitem.h \
44 qtablewidgetintitem.h \
45 srec/srecfile.h \
45 srec/srecfile.h \
46 srec/srecfilewidget.h \
46 srec/srecfilewidget.h \
47 abstractbinfile.cpp
47 abstractbinfile.h
48
48
49 win32{
49 win32{
50 elfheader.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common/libelf
50 elfheader.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common/libelf
51 elfheader.files += \
51 elfheader.files += \
52 elf/libelfWin32/include/libelf/byteswap.h \
52 elf/libelfWin32/include/libelf/byteswap.h \
53 elf/libelfWin32/include/libelf/errors.h \
53 elf/libelfWin32/include/libelf/errors.h \
54 elf/libelfWin32/include/libelf/gelf.h \
54 elf/libelfWin32/include/libelf/gelf.h \
55 elf/libelfWin32/include/libelf/nlist.h \
55 elf/libelfWin32/include/libelf/nlist.h \
56 elf/libelfWin32/include/libelf/sys_elf.h \
56 elf/libelfWin32/include/libelf/sys_elf.h \
57 elf/libelfWin32/include/libelf/verneed.h \
57 elf/libelfWin32/include/libelf/verneed.h \
58 elf/libelfWin32/include/libelf/elf_repl.h \
58 elf/libelfWin32/include/libelf/elf_repl.h \
59 elf/libelfWin32/include/libelf/ext_types.h \
59 elf/libelfWin32/include/libelf/ext_types.h \
60 elf/libelfWin32/include/libelf/libelf.h \
60 elf/libelfWin32/include/libelf/libelf.h \
61 elf/libelfWin32/include/libelf/private.h \
61 elf/libelfWin32/include/libelf/private.h \
62 elf/libelfWin32/include/libelf/verdef.h
62 elf/libelfWin32/include/libelf/verdef.h
63 INSTALLS += elfheader
63 INSTALLS += elfheader
64 }
64 }
65
65
66
66
67 isEmpty(header.path) {
67 isEmpty(header.path) {
68 error(can\'t get QT_INSTALL_HEADERS)
68 error(can\'t get QT_INSTALL_HEADERS)
69 }
69 }
70
70
71 INSTALLS += target header
71 INSTALLS += target header
72
72
73 INCLUDEPATH += QCustomPlot qhexedit srec
73 INCLUDEPATH += QCustomPlot qhexedit srec
74
74
75 HEADERS += \
75 HEADERS += \
76 memsizewdgt.h \
76 memsizewdgt.h \
77 qhexspinbox.h \
77 qhexspinbox.h \
78 qsvgicon.h \
78 qsvgicon.h \
79 qhexedit/qhexedit_p.h \
79 qhexedit/qhexedit_p.h \
80 qhexedit/qhexedit.h \
80 qhexedit/qhexedit.h \
81 qhexedit/xbytearray.h \
81 qhexedit/xbytearray.h \
82 qhexedit/commands.h \
82 qhexedit/commands.h \
83 QCustomPlot/qcustomplot.h \
83 QCustomPlot/qcustomplot.h \
84 tcp_terminal_client.h \
84 tcp_terminal_client.h \
85 elf/elfinfowdgt.h \
85 elf/elfinfowdgt.h \
86 elf/elfparser.h \
86 elf/elfparser.h \
87 elf/elffile.h \
87 elf/elffile.h \
88 qipdialogbox.h \
88 qipdialogbox.h \
89 PySocExplorer.h \
89 PySocExplorer.h \
90 SocExplorerPlot.h \
90 SocExplorerPlot.h \
91 elf/elffilewidget.h \
91 elf/elffilewidget.h \
92 qtablewidgetintitem.h \
92 qtablewidgetintitem.h \
93 srec/srecfile.h \
93 srec/srecfile.h \
94 srec/srecfilewidget.h \
94 srec/srecfilewidget.h \
95 abstractbinfile.h
95 abstractbinfile.h
96
96
97
97
98 SOURCES += \
98 SOURCES += \
99 memsizewdgt.cpp \
99 memsizewdgt.cpp \
100 qhexspinbox.cpp \
100 qhexspinbox.cpp \
101 qsvgicon.cpp \
101 qsvgicon.cpp \
102 qhexedit/qhexedit_p.cpp \
102 qhexedit/qhexedit_p.cpp \
103 qhexedit/qhexedit.cpp \
103 qhexedit/qhexedit.cpp \
104 qhexedit/xbytearray.cpp \
104 qhexedit/xbytearray.cpp \
105 qhexedit/commands.cpp \
105 qhexedit/commands.cpp \
106 QCustomPlot/qcustomplot.cpp \
106 QCustomPlot/qcustomplot.cpp \
107 tcp_terminal_client.cpp \
107 tcp_terminal_client.cpp \
108 elf/elfinfowdgt.cpp \
108 elf/elfinfowdgt.cpp \
109 elf/elfparser.cpp \
109 elf/elfparser.cpp \
110 elf/elffile.cpp \
110 elf/elffile.cpp \
111 qipdialogbox.cpp \
111 qipdialogbox.cpp \
112 SocExplorerPlot.cpp \
112 SocExplorerPlot.cpp \
113 elf/elffilewidget.cpp \
113 elf/elffilewidget.cpp \
114 qtablewidgetintitem.cpp \
114 qtablewidgetintitem.cpp \
115 srec/srecfile.cpp \
115 srec/srecfile.cpp \
116 srec/srecfilewidget.cpp \
116 srec/srecfilewidget.cpp \
117 abstractbinfile.cpp
117 abstractbinfile.cpp
118
118
119 FORMS += \
119 FORMS += \
120 elf/elffilewidget.ui \
120 elf/elffilewidget.ui \
121 srec/srecfilewidget.ui
121 srec/srecfilewidget.ui
122
122
123 OTHER_FILES += \
123 OTHER_FILES += \
124 ./pythongenerator.sh \
124 ./pythongenerator.sh \
125 ./pythonQtgeneratorCfg.txt
125 ./pythonQtgeneratorCfg.txt
126
126
127
127
128
128
General Comments 0
You need to be logged in to leave comments. Login now