[Kde-bindings] Problem getting data in a simple Qt::TableView

Declan McGrath declan at divilment.com
Fri Dec 4 02:58:19 UTC 2009


Solved the problem - but it's a strange one!

If I run the last command as superuser, ie. 'sudo ./script/run' it works! I get a grid appear in the mainwindow.

Anyone know why this would be the case? I'm on Kubuntu 9.04 running KDE 4.2.4.

Ciao,
Dec


On Thursday 03 December 2009 01:33:56 Declan McGrath wrote:
> Hi folks,
> 
> Hacked together the ability to generate a Qt main window as part of the qt on rails project at http://github.com/theirishpenguin/qtonrails-examples
> 
> I have to admit, I'm a little stuck at the final hurdle - I cannot load data into the simple Qt::TableView I'm using at line 38 of qtonrails-examples/vendor/plugins/qt/app/ui_presenters/main.rb
> 
> It just throws up an empty main window. Why is my lovely data not showing?
> 
> If you've any ideas, to reproduce this you can do
> git clone git://github.com/theirishpenguin/qtonrails-examples.git 
> cd qtonrails-examples/vendor/plugins/qt/
> ./script/generate mainwindow
> ./script/generate proxies
> ./script/run
> 
> At this point I would have expected on record to be displayed.
> 
> Cheers,
> Dec
> 



More information about the Kde-bindings mailing list