Note that there are some explanatory texts on larger screens.

plurals
  1. POStrange compilation errors when I use Maemo5 specific Qt classes .. !
    primarykey
    data
    text
    <p>Hey guys .. I recently tried to use some Maemo5 specific classes (e.g. QMaemo5ListPickSelector, etc ..), and I'm getting some strange compile time errors ..</p> <p>Here is a small code I was trying out:</p> <pre><code>QMaemo5ValueButton *x = new QMaemo5ValueButton("Hello"); QStandardItemModel model (10,2); int i,j,k; for(j=0;j&lt;=1;j++) { k=0; for(i=0;i&lt;=9;i++) { QStandardItem *item = new QStandardItem(QString("%0").arg(k)); k+=5; model.setItem(i,j,item); } } x-&gt;setValueLayout(QMaemo5ValueButton::ValueBesideText); QMaemo5ListPickSelector *sel = new QMaemo5ListPickSelector(); sel-&gt;setModel(&amp;model); x-&gt;setPickSelector(sel); QHBoxLayout *hbox = new QHBoxLayout(); hbox-&gt;addWidget(x); QVBoxLayout *vbox = new QVBoxLayout(); vbox-&gt;addLayout(hbox); vbox-&gt;addWidget(canvas); scrollArea-&gt;setLayout(vbox); setCentralWidget(scrollArea); </code></pre> <p>And this is the error I get:</p> <p><a href="http://img28.imageshack.us/img28/7491/errorsln.png" rel="nofollow noreferrer">alt text http://img28.imageshack.us/img28/7491/errorsln.png</a></p> <p>And this is the same error in more detail:</p> <p><a href="http://img526.imageshack.us/img526/5134/errors2.png" rel="nofollow noreferrer">alt text http://img526.imageshack.us/img526/5134/errors2.png</a></p> <p>I have installed the complete Nokia Qt SDK, and that is what is being used here as well ... The Maemo5 specific libraries are only 'seen' when I select 'Maemo' as the output device .. </p> <p>Anyone know how can I fix these errors .. ?</p> <p>I had a hard time configuring Qt Creator the first time round as well, and I really dont want to have to all kinds of un/re-installs all over again :(</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload