summaryrefslogtreecommitdiff
blob: 92dfdd7800886a5db3e4aeb2fa4957cf15f09989 (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
diff -ur qp10.1.orig/src/xqp/term.cc qp10.1/src/xqp/term.cc
--- qp10.1.orig/src/xqp/term.cc	2008-07-09 07:32:37.000000000 +0200
+++ qp10.1/src/xqp/term.cc	2018-07-19 10:31:12.969762518 +0200
@@ -38,7 +38,7 @@
 
 bool graphic_char(QChar c)
 {
-    switch (c.toAscii())
+    switch (c.toLatin1())
     {
        case '-':
        case '/':
diff -ur qp10.1.orig/src/xqp/xqp.cc qp10.1/src/xqp/xqp.cc
--- qp10.1.orig/src/xqp/xqp.cc	2011-07-14 01:08:42.000000000 +0200
+++ qp10.1/src/xqp/xqp.cc	2018-07-19 10:31:12.969762518 +0200
@@ -167,7 +167,7 @@
 
 void Xqp::send_cmd_to_qp(QString cmd)
 {
-   write(qp_stdin, cmd.toAscii(), cmd.length());
+   write(qp_stdin, cmd.toLatin1(), cmd.length());
 }
 
   
diff -ur qp10.1.orig/src/xqp/xqp.pro qp10.1/src/xqp/xqp.pro
--- qp10.1.orig/src/xqp/xqp.pro	2008-07-09 07:32:37.000000000 +0200
+++ qp10.1/src/xqp/xqp.pro	2018-07-19 10:31:12.969762518 +0200
@@ -4,6 +4,7 @@
 
 TEMPLATE = app
 INCLUDEPATH += .
+QT += widgets
 
 # Input
 HEADERS += interact.h qpconfig.h qthelp.h term.h xqp.h xqpqueries.h