| 
 | 
  svacant - 2009-09-21 19:56:59  
idgetItem’ was not declared in this scope 
/home/svacant/skphpide-1.0b2/bin/moc_findinprojectresults.cpp:82: error: expected primary-expression before ‘)’ token 
make[2]: *** [bin/CMakeFiles/skphpide.dir/skphpide_automoc.o] Errore 1 
make[1]: *** [bin/CMakeFiles/skphpide.dir/all] Errore 2 
make: *** [all] Errore 2 
Failed compiling. 
 
  
  Karol Janyst - 2009-09-21 22:03:10 -  In reply to message 1 from svacant 
Try SVN version, compiles perfectly with no errors. 
  
  Ciaran Kendellen - 2009-09-22 01:52:58 -  In reply to message 2 from Karol Janyst 
I to got an error on install (this *was* down loaded from svn trunk...) 
 
/opt/skphpide/bin/moc_findinprojectresults.cpp:81: error: expected type-specifier before ‘QListWidgetItem’ 
/opt/skphpide/bin/moc_findinprojectresults.cpp:81: error: expected `>' before ‘QListWidgetItem’ 
/opt/skphpide/bin/moc_findinprojectresults.cpp:81: error: expected `(' before ‘QListWidgetItem’ 
/opt/skphpide/bin/moc_findinprojectresults.cpp:81: error: ‘QListWidgetItem’ was not declared in this scope 
/opt/skphpide/bin/moc_findinprojectresults.cpp:81: error: expected primary-expression before ‘)’ token 
make[2]: *** [bin/CMakeFiles/skphpide.dir/skphpide_automoc.o] Error 1 
make[1]: *** [bin/CMakeFiles/skphpide.dir/all] Error 2 
make: *** [all] Error 2 
Failed compiling. 
 
  
  Vincent den Boer - 2009-09-22 08:34:36 -  In reply to message 3 from Ciaran Kendellen 
I've made a commit that could fix the problem (the problem doesn't occur on my PC, but I've had errors like this on other machines before). Just do a 'svn up' and everything should be fine. 
  
  Ciaran Kendellen - 2009-09-22 09:08:47 -  In reply to message 4 from Vincent den Boer 
Many thanks for the prompt response. Still no joy though :( 
 
Am adding the entire output here, in case it helps, sorry - for the hassle I just have been looking for something effective and lightweight for a LONG time and actually got quite excited about this when I saw the news :) 
 
-- Found Qt-Version 4.4.3 (using /usr/bin/qmake) 
-- Found X11: /usr/lib64/libX11.so 
-- Found Automoc4: /usr/bin/automoc4 
-- Found Perl: /usr/bin/perl 
-- Found KDE 4.1 include dir: /usr/include 
-- Found KDE 4.1 library dir: /usr/lib64 
-- Found KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler 
-- Found automoc4: /usr/bin/automoc4 
-- Configuring done 
-- Generating done 
-- Build files have been written to: /opt/skphpide 
[  2%] Building CXX object bin/CMakeFiles/skphpide.dir/skphpide_automoc.o 
In file included from /usr/include/KDE/KFileTreeView:1, 
                 from /opt/skphpide/bin/../src/findinprojectdialog.h:19, 
                 from /opt/skphpide/bin/moc_findinprojectdialog.cpp:10, 
                 from /opt/skphpide/bin/skphpide_automoc.cpp:5: 
/usr/include/QtGui/qtreeview.h:213: warning: ‘virtual void QTreeView::currentChanged(const QModelIndex&, const QModelIndex&)’ was hidden 
/usr/include/KDE/../kfiletreeview.h:104: warning:   by ‘void KFileTreeView::currentChanged(const KUrl&)’ 
In file included from /opt/skphpide/bin/moc_findinprojectresults.cpp:10, 
                 from /opt/skphpide/bin/skphpide_automoc.cpp:8: 
/opt/skphpide/bin/../src/widgets/findinprojectresults.h:28: error: ‘QListWidgetItem’ has not been declared 
In file included from /opt/skphpide/bin/skphpide_automoc.cpp:8: 
/opt/skphpide/bin/moc_findinprojectresults.cpp: In member function ‘virtual int FindInProjectResults::qt_metacall(QMetaObject::Call, int, void**)’: 
/opt/skphpide/bin/moc_findinprojectresults.cpp:81: error: expected type-specifier before ‘QListWidgetItem’ 
/opt/skphpide/bin/moc_findinprojectresults.cpp:81: error: expected `>' before ‘QListWidgetItem’ 
/opt/skphpide/bin/moc_findinprojectresults.cpp:81: error: expected `(' before ‘QListWidgetItem’ 
/opt/skphpide/bin/moc_findinprojectresults.cpp:81: error: ‘QListWidgetItem’ was not declared in this scope 
/opt/skphpide/bin/moc_findinprojectresults.cpp:81: error: expected primary-expression before ‘)’ token 
make[2]: *** [bin/CMakeFiles/skphpide.dir/skphpide_automoc.o] Error 1 
make[1]: *** [bin/CMakeFiles/skphpide.dir/all] Error 2 
make: *** [all] Error 2 
Failed compiling. 
 
  
  Vincent den Boer - 2009-09-22 18:47:57 -  In reply to message 5 from Ciaran Kendellen 
Hmm... The only thing that I can think of is that there are are cached moc files lying around. You could try deleting the entire skphpie dir and check out a fresh copy so all caches are clean. 
 
The differences between distros can be quite difficult to cope with. Speaking of which, which distro are you using? 
  
  Vincent den Boer - 2009-09-24 18:54:36 -  In reply to message 6 from Vincent den Boer 
Someone contacted me who was having the same problems using Arch Linux. We've managed to solve the problem. 
  
  Ciaran Kendellen - 2009-09-30 19:07:58 -  In reply to message 7 from Vincent den Boer 
Hello there, 
 
Firstly my apologies for the delay in getting back to you - I DO appreciate your assistance, I was away for a few days... 
 
That last update did the trick and I'm now officially a "Shish-Kebaber" :) 
 
On first impressions it seems to do for php development what git did for software repos, the function/class detection seems to require a little work (on some scripts it only detected the first function - possible due to the use of RECORD?), but will keep checking back for updates! 
 
Many thanks and sincere regards... 
  
   |