×

Discussion Board

Search:

Type: Posts; User: hurenkam; Keyword(s):

Page 1 of 8 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: QML + QtMobility: proper way to access sensor API

    Hi

    If you are unable to use the QtMobility API in your simulator, then i think something is wrong in your setup. I suggest you install the SDK from scratch, preferably use the Nokia Qt 1.1 Beta...
  2. Re: QML + QtMobility: proper way to access sensor API [SOLVED]

    Hi,

    Glad to hear you got things to work.
    In hindsight, i guess it makes sense that the properties can not be read directly from the sensor itself, but need to be read from the reading, since that...
  3. Re: QML + QtMobility: proper way to access sensor API

    Hi,

    I don't think the 'signal' in the wrapper class is needed, a simple function should work fine:



    Item {
    id: sensor
    property real rx
    property real ry
  4. Re: QtSql: insertRow(-1,data), how to find out the primary key?

    After spending an evening of searching, i finally found an answer, and as i expected it is actually quite simple:


    int newid = tracks.query().lastInsertId().toInt();


    Mark.
  5. QtSql: insertRow(-1,data), how to find out the primary key?

    Hi,

    I'm using a simple sqlite database in my application, to keep track of my tracks, and trackpoints.
    For this purpose i have two tables:



    CREATE TABLE tracks (trackid INTEGER PRIMARY KEY,...
  6. Replies
    11
    Views
    2,097

    Re: GPS location code problem

    From the errors you get, it looks like the QtMobility extensions are not enabled, or not installed for the SDK you are using.
    Are you sure the lines mentioned above:


    CONFIG += mobility...
  7. Re: Symbian Publish & Subscribe: No notification of changes in SDK1.1 beta

    Hi,

    I've noticed that a server defined value can only be written to by the client, when the server has at least written the value once. If i define a value in the server which i want to read (and...
  8. Re: Symbian Publish & Subscribe: No notification of changes in SDK1.1 beta

    Hi,

    Just a short update; I decided to start again from scratch, using a very simple server & client, and build from there. It seems to work properly now, even when it is not as simple as i started...
  9. Re: Symbian Publish & Subscribe: No notification of changes in SDK1.1 beta

    Hi,

    Just to get things clear, can i summarise from your answer that:
    1) Yes, i am using the API correctly (as far as you can see)
    2) Yes, it is supposed to work in the current beta of the 1.1...
  10. Re: Symbian Publish & Subscribe: No notification of changes in SDK1.1 beta

    To clarify how i use the QValueSpaceSubscriber class in my custom class:



    class CompassModel : public QObject, public QDeclarativeParserStatus
    {
    Q_OBJECT
    ...
  11. Re: Symbian Publish & Subscribe: No notification of changes in SDK1.1 beta

    Let me clarify something: I have no problems propagating values from my custom Qt/C++ class to QML space... that all works as expected.

    I have a problem receiving notifications from the Publish &...
  12. Re: Symbian Publish & Subscribe: No notification of changes in SDK1.1 beta

    Hi,


    Thanks for your reply.
    Perhaps i was not being very clear, but i'm trying to work with this on Symbian platform, where Qt is using the underlying symbian Publish & Subscribe mechanism....
  13. Symbian Publish & Subscribe: No notification of changes in SDK1.1 beta

    Hi,

    I'm in the proces of splitting my application in a client and server part, where i would like to use the Publish & Subscribe method to expose variables from the server to the client.
    Basic...
  14. Replies
    15
    Views
    3,238

    Re: Qt Creator or Carbide C++

    I have some applications which were initially built on Carbide, and I've had little succes so far getting them to work using QtCreator (even though they seem to run fine in the simulator, when built...
  15. Re: How to use Layouts in Qt Creator for Portrait and Landscape modes?

    I haven't found a way to do this properly from the designer view, neither in QtCreator nor QtDesigner. I am using QBoxLayout to do this, but it seems to be missing in the designer (see my topic here:...
  16. Replies
    4
    Views
    1,806

    Re: QtCreator design mode missing QBoxLayout?

    Please read (both) my post above... I know how to do this manually, outside the ui designer. I'm using QBoxLayout for that (note the absense of the V and H), which in my opinion is much simpler than...
  17. Replies
    4
    Views
    1,806

    Re: QtCreator design mode missing QBoxLayout?

    Duh...
    Doesn't that defeat the purpose of having a designer? The designer is the number one reason for me to want to move from Carbide to QtCreator, if i can't use it to handle something trivial as...
  18. Replies
    4
    Views
    1,806

    QtCreator design mode missing QBoxLayout?

    Hi,


    To ease transitions between portrait and landscape mode, i often use QBoxLayout in my dialogs, with two layout groups that are side by side in landscape mode, and on top of eachother in...
  19. Problem with dialog running on Qt Simulator

    Hi,

    I've been trying every now and then to get my code (which runs fine in the emulator and on the device) running in the simulator on linux. I have reached a point where it runs fine in normal...
  20. Replies
    6
    Views
    7,903

    Re: Fast image drawing

    Hi,

    Since i have a wish to improve the refresh rate for some widgets in my Qt application, i am considering to take the approach shown here.

    But while experimenting, some questions arise:
    1)...
  21. Replies
    7
    Views
    1,399

    Re: Access to image files on simulator?

    Hi,

    I understand the differences between the phone build, an emulator build, and to some extend the simulator build... i know i can't run native sis files on anything but the phone.

    I just...
  22. Replies
    7
    Views
    1,399

    Re: Access to image files on simulator?

    Ok, so yet another method to find where the files should be... and i suppose i could give it a try, and look at Qt Resources as well.

    But my real question is not, how to package the files properly...
  23. Replies
    7
    Views
    1,399

    Access to image files on simulator?

    Hi,

    I've recently installed the new Nokia Qt SDK for windows, with the Simulator environment, however i can't seem to access my image files, and can't seem to find the C: and E: drive locations...
  24. Re: QDateTime behaves bad on Qt 4.7-beta1 for symbian. Seems ok on Qt 4.6.3

    Ok, after going through some struggles getting qt 470 beta 2 installed, it seems indeed solved in this release.

    The problem i had with installing beta2, it's qt_installer.sis doesn't want to...
  25. QDateTime behaves bad on Qt 4.7-beta1 for symbian. Seems ok on Qt 4.6.3

    Hi,

    I've found the following strange behaviour of QDateTime on Qt 4.7-beta1, to generate a GPX
    timestamp for new waypoints i use the following code:

    QDateTime curtime =...
Results 1 to 25 of 187
Page 1 of 8 1 2 3 4
×