#27766: krusader: CMake Error at FindQt4.cmake:1256 ------------------------------+--------------------------------------------- Reporter: elimli@… | Owner: jonas@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: krusader ------------------------------+--------------------------------------------- Comment(by jorge.silva@…): Replying to [comment:9 petep@…]:
I read through this thread, and was able to build krusader again, after a long time living with a broken port. It all began when kde and qt was upgraded to higher versions within the porttree.
To fix krusader 2.0.0 for now:
1. I had to edit the Portfile {{{ -PortGroup kde4 1.0 +PortGroup kde4 1.1 }}} This fixes the "missing phonon" issue #27221.
Note: With current up-to-date ports I did not had to add a line "''configure.args -DQT_QMAKE_EXECUTABLE=/opt/local/bin/qmake''" which is mentioned above. My qmake seems to be correctly installed and so can be found without additional tricks.
In order to fix the compile errors I looked into an actual repo of krusader (2.3beta, I believe) at https://projects.kde.org/projects/extragear/utils/krusader/repository (the backend seems to have some problems currently, cannot display the file contents atm). The actual code inspires the following two changes in our v2.0.0:
krusader/MountMan/kmountmangui.h:116: {{{ public: - fsData() : Name( 0 ), Type( 0 ), MntPoint( 0 ), TotalBlks( 0 ), + fsData() : Name(), Type(), MntPoint(), TotalBlks( 0 ), FreeBlks( 0 ), Mounted( false ) {} }}}
krusader/Search/krsearchdialog.h:65 {{{ public: - KrSearchDialog(QString profile = 0, QWidget* parent = 0 ); + KrSearchDialog(QString profile = QString(), QWidget* parent = 0);
void prepareGUI(); }}}
So who can now put this patch into the Portfile? Or should we better use a higher version of krusader in order to be compatible to the newer qt-stuff?
Cheers, petep!
Works great, thanks! Has it been committed? Otherwise I can push it up it anybody gives me commit access cheers! jsilva -- Ticket URL: <https://trac.macports.org/ticket/27766#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS