Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2008

    Help for developing qt S60 programs in pure code mode!?

    QT S60 use carbide only for ever!?
    But after using, I think it's so hard to use.
    First time I used, I could not open source files in carbide IDE.
    After some unkown drop and drag, source files opened, but the navigator and opened sources layout.
    I have no words.

    So, I want to know how to develop qt S60 programs in pure code mode, just like I have done sometimes on Windows/X11 platform.
    I don't like ui files generated by carbide, and I think it's disordered in version control systems.

    For example:
    What .pro file should I write? How can I generate Makefile with qmake, and compile it in command line?

    Can someone help and show me the example?

  2. #2
    Registered User
    Join Date
    Jan 2008

    Re: Help for developing qt S60 programs in pure code mode!?

    Sorry for not seeing the article:
    How to Compile Qt(.cpp) file from command prompt?

    cd dir_hold_sources
    qmake -project

  3. #3
    Registered User
    Join Date
    Dec 2006

    Re: Help for developing qt S60 programs in pure code mode!?


    I'd suggest you give Carbide.c++ another chance. It's Eclipse based so you can modify the layout. You might also need to change which perspective you are using (look in the top right hand corner). It's a lot better than some of the other IDEs I've used. It also lets you do important things like on-device debugging.

    However, you can of course use the command line and any text editor you like. If you look at the sticky thread on this discussion board you'll find some links to resources, including the developer library. That contains details of the S60 specific extensions to the .pro file. Otherwise you just use the same .pro that you would for other platforms. You can use qmake and then make (as long as you're using the Temple release) to build the project.

    Alternatively, after running qmake, you can do:
    bldmake bldfiles
    abld build winscw udeb (for the emulator)
    abld build gcce udeb (for the target device)

    To start the emulator from the command line you can either type 'epoc', or just launch the executable you've built directly.


    P.S. If you don't know how to write a .pro file then, typing 'qmake -project' will create one for you based on the sources in the current directory (and sub-directories).

  4. #4
    Registered User
    Join Date
    Jan 2008

    Re: Help for developing qt S60 programs in pure code mode!?


    I'll try more times.
    I'm accustomed to use Microsoft Visual 2003/2005, and sometimes use Code::Blocks under *nix platform, the default layout is just fit me.

    It's not difficult to modify the project file with customed libs.
    But when I use the default template generated by qmake, run the tutorial programs, on-device debug is OK, but the emulator just disappears. I don't know what happened.
    So, I think it's time to fit myself to carbide++.

    I just want to advice to NOKIA for a default carbide layout with fixed project navigator and source file editor.

Similar Threads

  1. Python for S60 1.9.1 released
    By tvijayan in forum Symbian
    Replies: 30
    Last Post: 2009-02-26, 06:16
  2. Python for S60 1.9.0 released
    By tvijayan in forum Symbian
    Replies: 48
    Last Post: 2009-01-27, 15:39
  3. Link errors when trying to Display bitmap
    By Bkc82 in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2006-01-16, 22:46
  4. How to change screen mode / resolution on S60 3rd edition devices?
    By mriekert in forum Symbian User Interface
    Replies: 1
    Last Post: 2006-01-03, 09:31
  5. Code in privileged mode (kernel mode)
    By stigster in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2005-11-03, 12:22

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts