diff -rupN qhexedit2-0.6.5/example/qhexedit.pro qhexedit2-0.6.5-new/example/qhexedit.pro
--- qhexedit2-0.6.5/example/qhexedit.pro 2015-04-16 22:16:26.000000000 +0200
+++ qhexedit2-0.6.5-new/example/qhexedit.pro 2015-04-29 19:21:30.000000000 +0200
@@ -3,10 +3,6 @@ greaterThan(QT_MAJOR_VERSION, 4): QT +=
HEADERS = \
mainwindow.h \
optionsdialog.h \
- ../src/qhexedit.h \
- ../src/qhexedit_p.h \
- ../src/xbytearray.h \
- ../src/commands.h \
searchdialog.h
@@ -14,12 +10,10 @@ SOURCES = \
main.cpp \
mainwindow.cpp \
optionsdialog.cpp \
- ../src/qhexedit.cpp \
- ../src/qhexedit_p.cpp \
- ../src/xbytearray.cpp \
- ../src/commands.cpp \
searchdialog.cpp
+LIBS = -L../build-lib-qt5 -lqhexedit-qt5
+
RESOURCES = \
qhexedit.qrc
diff -rupN qhexedit2-0.6.5/sip/configure.py qhexedit2-0.6.5-new/sip/configure.py
--- qhexedit2-0.6.5/sip/configure.py 2015-04-16 22:16:26.000000000 +0200
+++ qhexedit2-0.6.5-new/sip/configure.py 2015-04-29 19:21:30.000000000 +0200
@@ -38,7 +38,7 @@ makefile = pyqtconfig.QtGuiModuleMakefil
# Add the library we are wrapping. The name doesn't include any platform
# specific prefixes or extensions (e.g. the "lib" prefix on UNIX, or the
# ".dll" extension on Windows).
-makefile.LFLAGS.append("-L../c++")
+makefile.LFLAGS.append("-L../build-lib-qt4")
makefile.extra_libs = ["qhexedit"]
# Generate the Makefile itself.
diff -rupN qhexedit2-0.6.5/sip/qhexedit.pro qhexedit2-0.6.5-new/sip/qhexedit.pro
--- qhexedit2-0.6.5/sip/qhexedit.pro 2015-04-16 22:16:26.000000000 +0200
+++ qhexedit2-0.6.5-new/sip/qhexedit.pro 2015-04-29 19:23:31.189728931 +0200
@@ -1,4 +1,5 @@
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
+equals(QT_MAJOR_VERSION, 5): QTSUFFIX = -qt5
TEMPLATE = lib
@@ -19,7 +20,5 @@ SOURCES = \
# RESOURCES = hexedit.qrc
-TARGET = qhexedit
+TARGET = qhexedit$$QTSUFFIX
-DESTDIR = /usr/lib
-