Project

General

Profile

Feature #1038

Add support for Qt 5

Added by 0xd34df00d over 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Overall
Target version:
Start date:
04/30/2013
Due date:
% Done:

100%

Estimated time:
80.00 h

Description

Add support for building LeechCraft with Qt 5, particularly:
  • Implement a macro for CMake to easily define required Qt modules for both Qt 4 and Qt 5.
  • Migrate the code base to Qt 5, where applicable.
  • Consider replacing calls to libmagic with Qt 5's MIME detection.
  • Consider replacing qjson and boost.property_tree with Qt 5's JSON stuff.
#1

Updated by 0xd34df00d over 7 years ago

  • Tracker changed from Bug to Feature
#2

Updated by Magog over 7 years ago

Собрал ядро.
При запуске сегфолтится:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff719cb8f in QIcon::availableSizes(QIcon::Mode, QIcon::State) const () from /usr/lib64/libQt5Gui.so.5
(gdb) bt
#0 0x00007ffff719cb8f in QIcon::availableSizes(QIcon::Mode, QIcon::State) const () from /usr/lib64/libQt5Gui.so.5
#1 0x00007fffe6a67837 in ?? () from /usr/lib64/qt5/plugins/platforms/libqxcb.so
#2 0x00007ffff66c09f8 in QWidgetPrivate::setWindowIcon_sys() () from /usr/lib64/libQt5Widgets.so.5
#3 0x00007ffff66a75c8 in QWidget::create(unsigned long long, bool, bool) () from /usr/lib64/libQt5Widgets.so.5
#4 0x00007ffff66a9dea in QWidget::setVisible(bool) () from /usr/lib64/libQt5Widgets.so.5
#5 0x0000000000431435 in LeechCraft::MainWindow::ReadSettings (this=this@entry=0x7346a0) at /home/magog/Programming/git/Leechcraft/leechcraft/src/core/mainwindow.cpp:383
#6 0x0000000000431c1a in LeechCraft::MainWindow::InitializeInterface (this=this@entry=0x7346a0) at /home/magog/Programming/git/Leechcraft/leechcraft/src/core/mainwindow.cpp:361
#7 0x0000000000431e74 in LeechCraft::MainWindow::Init (this=this@entry=0x7346a0) at /home/magog/Programming/git/Leechcraft/leechcraft/src/core/mainwindow.cpp:99
#8 0x00000000004c23f5 in LeechCraft::RootWindowsManager::CreateWindow (this=0x789ca0) at /home/magog/Programming/git/Leechcraft/leechcraft/src/core/rootwindowsmanager.cpp:196
#9 0x00000000004c2475 in LeechCraft::RootWindowsManager::MakeMainWindow (this=<optimized out>) at /home/magog/Programming/git/Leechcraft/leechcraft/src/core/rootwindowsmanager.cpp:61
#10 0x000000000045df23 in LeechCraft::Application::Application (this=0x7fffffffdee0, argc=<optimized out>, argv=<optimized out>) at /home/magog/Programming/git/Leechcraft/leechcraft/src/core/application.cpp:217
#11 0x000000000042c08e in main (argc=1, argv=<optimized out>) at /home/magog/Programming/git/Leechcraft/leechcraft/src/core/main.cpp:37

#3

Updated by 0xd34df00d over 7 years ago

  • Target version deleted (0.6.60)

Depends on Qt 5.1 at least.

#4

Updated by 0xd34df00d about 6 years ago

  • Estimated time changed from 20.00 h to 80.00 h
  • % Done changed from 0 to 100
  • Target version set to 0.6.75
  • Assignee changed from Magog to 0xd34df00d
  • Status changed from Assigned to Closed

Also available in: Atom PDF