×

Discussion Board

Search:

Type: Posts; User: laa-laa; Keyword(s):

Page 1 of 12 1 2 3 4

Search: Search took 0.12 seconds.

  1. Re: Steps to cross compile Qt Application for LINUX from Windows

    Usually it's just easier to buidl the application on a real linux box or a virtual machine.
  2. Replies
    25
    Views
    2,220

    Re: No notification from CTelephony object

    The async service provider --- CTelephony in this case --- sets iStatus to KRequestPending. However, it does not add the active object to the active scheduler's list of outstanding requests. That's...
  3. Replies
    25
    Views
    2,220

    Re: No notification from CTelephony object

    You'll need to call CActive.:SetActive() yourself when you issue a request involving CActive::iStatus.
  4. Replies
    6
    Views
    2,572

    Re: Using QtTest and gcov

    I suggest trial and error. I can't access the build environment I set up last time anymore to check on details.

    Just run the tests and run gcov (or any other compatible report generator). If it...
  5. Replies
    25
    Views
    2,220

    Re: No notification from CTelephony object

    ViewSrv 11 panic implies there's something blocking the active scheduler loop from running.

    Some things to check:

    - long-running active objects
    - high-priority, busy active objects
    - mixing...
  6. Replies
    6
    Views
    2,572

    Re: Using QtTest and gcov

    You create a new project that produces a test executable and has

    QT += testlib
    in it's project file. The test code itself should be in a QObject and include a call to QTest::qExec() - usually...
  7. Replies
    13
    Views
    1,745

    Re: Cannot use -> on a pointer?

    Hint: "a" is a member variable of type sms in class gui and also a local variable of type sms* in gui::gui() constructor.
  8. Re: QDir::exists returns false on applications private directory

    It's a feature of Symbian and not really a bug. The reason is already there in post #5: \private directory itself is not accessible (without AllFilles capability) while \private\youruid is. Checking...
  9. Re: QDir::exists returns false on applications private directory

    It's because the \private directory itself is not accessible (without AllFilles capability) while \private\youruid is.
  10. Re: "Expected primary-expression before '*' token" error.

    Note that the code snippets you linked to are not complete examples. You'll need to put the code in a function.
  11. Re: "Expected primary-expression before '*' token" error.

    Do you have


    #include <eikenv.h>

    somewhere in the compilation unit?
  12. Replies
    3
    Views
    1,434

    Re: _L literal memory usage

    _L() is in practice a convenienve wrapper for TPtrC. Using it in the usual way creates a temporary TPtrC object on stack consuming 8 bytes of space (descriptor length and flags in 32 bits, pointer to...
  13. Replies
    2
    Views
    714

    Re: Match() always returns KErrNotFound

    To me it seems to be an issue with misbehaving compiler trigraph sequences. Trigraphs are three-character sequences starting with ?? and are turned into an alternative character symbol by the...
  14. Replies
    2
    Views
    1,243

    Re: QT unit test setup

    Hi, I noticed your question on stackoverflow first and also answered it there.
  15. Replies
    5
    Views
    973

    Re: strange switch-case problem

    Sounds like a stack overflow.

    Note that stack space for local variables is allocated at function scope, not block scope. Some ways to fix the issue:

    - split the cases into separate helper...
  16. Replies
    1
    Views
    1,080

    Re: qml call symbian api

    Not directly. You'll need to wrap the Symbian C++ code in Qt C++ code and expose the Qt C++ API into QML, for example using a Q_INVOKABLE function.
  17. Re: #error "The header file 'xqtelephony.h' doesn't include ."

    This error usually occurs when you try to compile the MOC-generated file as a regular source/header file. For example, having something like


    SOURCES += *.cpp
    HEADERS += *.h

    will easily lead...
  18. Replies
    1
    Views
    1,534

    Re: Where the QSettings save ?

    You can use the QSettings constructor variant that takes in a file name to supply it with a path that is guaranteed to be in your private data cage (\private\<uid> directory). For example:

    ...
  19. Re: Exit AppUI cause -1003 (KLeaveExit), related with CActive object?

    That's how the AppUi Exit() is implemented: it leaves with KLeaveExit. In order for the exit mechanism to work, you should propagate the KLeaveExit leave to the UI framework active scheduler loop...
  20. Replies
    4
    Views
    1,100

    Re: illegal constant expression

    A const variable is still a variable and not a compile-time constant. Stack-based allocation needs to know the space requirements at compile time. To allocate dynamically, use heap-based allocation...
  21. Replies
    6
    Views
    4,746

    Re: Cannot open include file: 'stddef.h'

    @danhicksbyron: ... which shouldn't be used with Qt since it's from the old ESTLIB standard library. Instead one should use the PIPS/Open C one in epoc32\include\stdapis.
  22. Re: Include Path problem for symbian device build

    epoc32/include/stdapis should be in INCLUDEPATH by default anyway so despite the extra space there, the original error is most probably somewhere else. Which header files are missing?
  23. Replies
    3
    Views
    1,256

    Re: QDir::count () returns strange number

    It's a filesystem difference. Your simulator is running on a filesystem where directories always have "." and ".." entries. The filesystem on N8 does not have such entries.
  24. Replies
    8
    Views
    1,645

    Re: Bill of materials?

    For that kind of purpose I suggest you use a version control tool with automated build environment that always builds your releasable packages the same way, preferably starting with a clean SDK. It's...
  25. Replies
    4
    Views
    945

    Re: Macros For S60 3rd and 5th Ediiton Device

    I'm not using Nokia Qt SDK - I've found it to be too simplified for my needs. Instead I'm using Qt on regular S60 SDKs. These S60 SDK flags work there as far as I know.

    For your case, since the...
Results 1 to 25 of 300
Page 1 of 12 1 2 3 4
×