summaryrefslogtreecommitdiff
blob: cabbd77ac8436072b7082b0b9601ca6e9049d7e1 (plain)
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
diff --git a/setup.py b/setup.py
index 1a0d912..646c359 100644
--- a/setup.py
+++ b/setup.py
@@ -98,7 +98,7 @@ if cfg.qt_framework:
                                       lib + ".framework", "Headers")]
 else:
     if PyQt_Version == 'PyQt5':
-        for qt_inc_dir in ('/usr/include/qt', '/usr/include/x86_64-linux-gnu/qt5'):
+        for qt_inc_dir in ('/usr/include/qt', '/usr/include/qt5'):
             include_dirs.append(qt_inc_dir)
             include_dirs += [os.path.join(qt_inc_dir, lib) for lib in qt_libs]
         libraries = ["Qt5" + lib[2:] for lib in qt_libs]
diff --git a/src/qhexedit.pro b/src/qhexedit.pro
index 2a94016..55d7bc2 100644
--- a/src/qhexedit.pro
+++ b/src/qhexedit.pro
@@ -23,5 +23,7 @@ Release:TARGET = qhexedit
 Debug:TARGET = qhexeditd
 
 
-unix:DESTDIR = /usr/lib
 win32:DESTDIR = ../lib
+
+target.path = /usr/lib64
+INSTALLS += target
diff --git a/src/qhexedit.sip b/src/qhexedit.sip
index 082621e..a7ef4e7 100644
--- a/src/qhexedit.sip
+++ b/src/qhexedit.sip
@@ -1,4 +1,4 @@
-%Module(name=qhexedit, version=1)
+%Module(name=qhexedit)
 
 %Import QtCore/QtCoremod.sip
 %Import QtGui/QtGuimod.sip