FS#34217 - [cmake] cmake-gui freezes when upon configure click
Attached to Project:
Arch Linux
Opened by Danny George (dangets) - Friday, 08 March 2013, 14:09 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 17 May 2013, 19:00 GMT
Opened by Danny George (dangets) - Friday, 08 March 2013, 14:09 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 17 May 2013, 19:00 GMT
|
Details
Description:
cmake-gui freezes when I click the configure button for the second time. On the terminal it's printing many error messages (possibly related to qt upgrade?) Cannot create accessible interface for object: QHeaderView(0x2a9a890) Cannot create accessible interface for object: QCMakeCacheView(0x2a543b0, name = "CacheValues") Cannot create accessible interface for object: QCMakeCacheView(0x2a543b0, name = "CacheValues") Cannot create accessible interface for object: QCMakeCacheView(0x2a543b0, name = "CacheValues") Cannot create accessible interface for object: QComboBoxListView(0x2a6b1d0) Cannot create accessible interface for object: QComboBoxListView(0x2a6b1d0) I have to kill the process manually. I've tried this with two separate build directories with same issue I am able to use ccmake successfully. Additional info: cmake 2.8.10.2-5 qt4 4.8.4-13 qt5-base 5.0.1-6 |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Friday, 17 May 2013, 19:00 GMT
Reason for closing: Fixed
Additional comments about closing: cmake 2.8.11-1
Friday, 17 May 2013, 19:00 GMT
Reason for closing: Fixed
Additional comments about closing: cmake 2.8.11-1
1. Removing qt5
2. Installing cmake, forcing it to use qt4 and changing the dependency
3. Reinstalling 5
I did not try the same by reinstalling qt4 because too many packages had it as a dependency, but this does suggest a confusion when using multiples versions of qt, even when only one qmake is specified for the build.
PKGBUILD (1.8 KiB)
And of course you have to add qt5-2.patch and its md5sum into PKGBUILD, otherwise you're unable to build cmake from ABS.
I also tried to add something like -I/usr/include/qt5/QtCore et al to CFLAGS and CXXFLAGS in build() in the PKGBUILD and without applying qt5-2.patch tried to build cmake - it didn't work.
So here I posted what really worked for me. I successfully built cmake-gui that does its job as it must (thanks to the first's patch authors!). Hope it will help others.