https://bugs.kde.org/show_bug.cgi?id=233902

--- Comment #9 from ahmedmoselh...@gmail.com ---
(In reply to BRULE Herman from comment #8)
> Created attachment 163374 [details]
> Example for integration into other file manager
> 
> Example for integration into other file manager, I'm open to help into what
> I can.

I tried to compile using your patch on latest pcmanfm-qt release (i.e 1.4.0)
but got the following errors:

[   19s]
/home/abuild/rpmbuild/BUILD/pcmanfm-qt-1.4.0.r3/pcmanfm/mainwindow.cpp: In
function 'void PCManFM::sendRawOrderListA(const QStringList&, QLocalSocket&,
int)':
[   19s]
/home/abuild/rpmbuild/BUILD/pcmanfm-qt-1.4.0.r3/pcmanfm/mainwindow.cpp:1871:13:
warning: variable 'byteWriten' set but not used [-Wunused-but-set-variable]
[   19s]  1871 |         int byteWriten;
[   19s]       |             ^~~~~~~~~~
[   19s]
/home/abuild/rpmbuild/BUILD/pcmanfm-qt-1.4.0.r3/pcmanfm/mainwindow.cpp: In
member function 'void PCManFM::MainWindow::on_actionPaste_triggered()':
[   19s]
/home/abuild/rpmbuild/BUILD/pcmanfm-qt-1.4.0.r3/pcmanfm/mainwindow.cpp:1885:30:
error: 'parseClipboardData' was not declared in this scope
[   19s]  1885 |     std::tie(paths, isCut) = parseClipboardData(*data);
[   19s]       |                              ^~~~~~~~~~~~~~~~~~
[   19s]
/home/abuild/rpmbuild/BUILD/pcmanfm-qt-1.4.0.r3/pcmanfm/mainwindow.cpp:1893:48:
error: 'QString::QString(const char*)' is private within this context
[   19s]  1893 |             sendRawOrderListA(QStringList() << "protocol" <<
"0002", socket, 1);
[   19s]       |                                                ^~~~~~~~~~
[   19s] In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44,
[   19s]                  from /usr/include/qt5/QtCore/qlist.h:47,
[   19s]                  from /usr/include/qt5/QtCore/qvariant.h:45,
[   19s]                  from /usr/include/qt5/QtCore/QVariant:1,
[   19s]                  from
/home/abuild/rpmbuild/BUILD/pcmanfm-qt-1.4.0.r3/build/pcmanfm/pcmanfm-qt_autogen/include/ui_main-win.h:12,
[   19s]                  from
/home/abuild/rpmbuild/BUILD/pcmanfm-qt-1.4.0.r3/pcmanfm/mainwindow.h:23,
[   19s]                  from
/home/abuild/rpmbuild/BUILD/pcmanfm-qt-1.4.0.r3/pcmanfm/mainwindow.cpp:20:
[   19s] /usr/include/qt5/QtCore/qstring.h:973:5: note: declared private here
[   19s]   973 |     QString(const char *ch);
[   19s]       |     ^~~~~~~
[   19s]
/home/abuild/rpmbuild/BUILD/pcmanfm-qt-1.4.0.r3/pcmanfm/mainwindow.cpp:1893:62:
error: 'QString::QString(const char*)' is private within this context
[   19s]  1893 |             sendRawOrderListA(QStringList() << "protocol" <<
"0002", socket, 1);
[   19s]       |                                                             
^~~~~~
[   19s] /usr/include/qt5/QtCore/qstring.h:973:5: note: declared private here
[   19s]   973 |     QString(const char *ch);
[   19s]       |     ^~~~~~~
[   19s]
/home/abuild/rpmbuild/BUILD/pcmanfm-qt-1.4.0.r3/pcmanfm/mainwindow.cpp:1898:22:
error: 'QString::QString(const char*)' is private within this context
[   19s]  1898 |                 l << "mv";
[   19s]       |                      ^~~~
[   19s] /usr/include/qt5/QtCore/qstring.h:973:5: note: declared private here
[   19s]   973 |     QString(const char *ch);
[   19s]       |     ^~~~~~~
[   19s]
/home/abuild/rpmbuild/BUILD/pcmanfm-qt-1.4.0.r3/pcmanfm/mainwindow.cpp:1902:22:
error: 'QString::QString(const char*)' is private within this context
[   19s]  1902 |                 l << "cp";
[   19s]       |                      ^~~~
[   19s] /usr/include/qt5/QtCore/qstring.h:973:5: note: declared private here
[   19s]   973 |     QString(const char *ch);
[   19s]       |     ^~~~~~~
[   19s]
/home/abuild/rpmbuild/BUILD/pcmanfm-qt-1.4.0.r3/pcmanfm/mainwindow.cpp:1905:39:
error: 'QString::QString(const char*)' is private within this context
[   19s]  1905 |                 l << n.toString().get();
[   19s]       |                                       ^
[   19s] /usr/include/qt5/QtCore/qstring.h:973:5: note: declared private here
[   19s]   973 |     QString(const char *ch);
[   19s]       |     ^~~~~~~
[   19s]
/home/abuild/rpmbuild/BUILD/pcmanfm-qt-1.4.0.r3/pcmanfm/mainwindow.cpp:1906:55:
error: 'QString::QString(const char*)' is private within this context
[   19s]  1906 |             l << currentPage()->path().toString().get();
[   19s]       |                                                       ^
[   19s] /usr/include/qt5/QtCore/qstring.h:973:5: note: declared private here
[   19s]   973 |     QString(const char *ch);
[   19s]       |     ^~~~~~~
[   19s] make[2]: *** [pcmanfm/CMakeFiles/pcmanfm-qt.dir/build.make:335:
pcmanfm/CMakeFiles/pcmanfm-qt.dir/mainwindow.cpp.o] Error 1
[   19s] make[2]: Leaving directory
'/home/abuild/rpmbuild/BUILD/pcmanfm-qt-1.4.0.r3/build'
[   19s] make[1]: *** [CMakeFiles/Makefile2:138:
pcmanfm/CMakeFiles/pcmanfm-qt.dir/all] Error 2
[   19s] make[1]: Leaving directory
'/home/abuild/rpmbuild/BUILD/pcmanfm-qt-1.4.0.r3/build'
[   19s] make: *** [Makefile:139: all] Error 2


this is the commit i made :
https://github.com/ahmedmoselhi/pcmanfm-qt/commit/b618bb69a1a946e1b7e60569147b3bfca399e331

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to