Browse Source

Fix for Qt5

tags/1.9.7
falkTX 8 years ago
parent
commit
40663c0945
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      data/windows/build-win32.sh
  2. +2
    -2
      source/widgets/draggablegraphicsview.py

+ 1
- 1
data/windows/build-win32.sh View File

@@ -3,7 +3,7 @@
### fluidsynth.pc:
# -lglib-2.0 -lgthread-2.0 -lsndfile -lFLAC -lvorbisenc -lvorbis -logg -lm -ldsound -lwinmm -lole32 -lws2_32
### linuxsampler.pc:
# -L${prefix}/lib/libgig -llinuxsampler -lgig -lsndfile -lFLAC -lvorbisenc -lvorbis -logg -lm -lrpcrt4
# -L${prefix}/lib/libgig -lgig -lsndfile -lFLAC -lvorbisenc -lvorbis -logg -lm -lrpcrt4

set -e



+ 2
- 2
source/widgets/draggablegraphicsview.py View File

@@ -26,8 +26,8 @@ from carla_config import *

if config_UseQt5:
from PyQt5.QtCore import Qt
from PyQt5.QtGui import QCursor
from PyQt5.QtWidgets import QGraphicsView, QMouseEvent
from PyQt5.QtGui import QCursor, QMouseEvent
from PyQt5.QtWidgets import QGraphicsView
else:
from PyQt4.QtCore import Qt
from PyQt4.QtGui import QCursor, QGraphicsView, QMouseEvent


Loading…
Cancel
Save