Move to Qt5 and Qt5Multimedia
This commit is contained in:
@@ -16,6 +16,7 @@ set(shared_HDRS
|
||||
hexspinbox.h
|
||||
)
|
||||
|
||||
qt4_wrap_cpp(shared_SRCS ${shared_HDRS})
|
||||
qt5_wrap_cpp(shared_SRCS ${shared_HDRS})
|
||||
|
||||
add_library(shared ${shared_SRCS})
|
||||
add_library(shared ${shared_SRCS})
|
||||
qt5_use_modules(shared Widgets)
|
||||
@@ -44,7 +44,7 @@ class AutoLineEdit: public QLineEdit
|
||||
void onEdited()
|
||||
{
|
||||
if (field && !lock) {
|
||||
strcpy(field, text().toAscii());
|
||||
strcpy(field, text().toLatin1());
|
||||
if (panel) {
|
||||
emit panel->modified();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user