×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    16

    Getting Carbide 2.7 to compile QT apps / Symbian^3 0.9

    Hi,

    What is the process to get Carbide 2.7 compile QT applications successfully:

    I have installed:
    * Carbide 2.7
    * Symbian^3 0.9 SDK
    * Required Perl version

    However, creating a blank QT project results in compilation errors or warnings:

    Warnings:
    Invalid project path: Include path not found (C:\Nokia\devices\Nokia_Symbian3_SDK_v0.9\epoc32\include\platform\loc).

    Errors:
    The build process pretty much fails on the first PERL command:

    ( I have included the output that appears on the Console but I'm using Carbide to build )

    C:\Symbian\Carbide\workspace\test12>perl.exe -S ABLD.PL \Symbian\Carbide\workspa
    ce\test12\ makefile winscw Makefile_0xE0B07F2B
    make -r -f "\Nokia\devices\Nokia_Symbian3_SDK_v0.9\EPOC32\BUILD\Symbian\Carbi
    de\workspace\test12\WINSCW.make" MAKEFILEMAKEFILE_0XE0B07F2B VERBOSE=-s
    make -s -C \Symbian\Carbide\workspace\test12 -f "MAKEFILE_0XE0B07F2B.MK" TO_ROO
    T=..\..\..\.. EPOCBLD=..\..\..\..\Nokia\devices\Nokia_Symbian3_SDK_v0.9\EPOC32\B
    UILD\Symbian\Carbide\workspace\test12\MAKEFILE_0XE0B07F2B\WINSCW TO_BLDINF=..\..
    \..\..\Symbian\Carbide\workspace\test12 PLATFORM=WINSCW MAKMAKE
    process_begin: CreateProcess((null), \epoc32\tools\uic test12.ui -o ui_test12.h,
    ...) failed.
    make (e=2): The system cannot find the file specified.
    make[2]: *** [ui_test12.h] Error
    2


    Any help is very welcome!

    Thank you,

    Stewart

  2. #2
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: Getting Carbide 2.7 to compile QT apps / Symbian^3 0.9

    I'd suggest first getting a Symbian C++ example to compile, before you try Qt.

  3. #3
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: Getting Carbide 2.7 to compile QT apps / Symbian^3 0.9

    Try Window->Preferences->C++->SDK preferences and make sure your Symbian SDK is properly selected.

    Then Window->Preferences->Qt and make sure your Qt version is properly selected.

  4. #4
    Registered User
    Join Date
    Nov 2010
    Posts
    16

    Re: Getting Carbide 2.7 to compile QT apps / Symbian^3 0.9

    Hi

    Thanks for replies..

    QT appears correct:
    BIN path:C:\Nokia\devices\Nokia_Symbian3_SDK_v0.9\epoc32\tools\qt
    Include Path: C:\Nokia\devices\Nokia_Symbian3_SDK_v0.9\epoc32\include\mw

    Under SDK, "Diagnostic Check:OK"

    I have successfully built a Symbian C++ app and ran it in the emulator.

    So, seems like QT is the issue.


    Quote Originally Posted by danhicksbyron View Post
    Try Window->Preferences->C++->SDK preferences and make sure your Symbian SDK is properly selected.

    Then Window->Preferences->Qt and make sure your Qt version is properly selected.
    Last edited by stewarth01; 2010-12-15 at 03:55.

  5. #5
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: Getting Carbide 2.7 to compile QT apps / Symbian^3 0.9

    I don't know about the Nokia_Symbian3_SDK, but with plain old Qt 4.6.3 for Symbian the proper Qt paths should be C:\QtSymbian\4.6.3\bin and C:\QtSymbian\4.6.3\include -- not paths inside epoc32.

  6. #6
    Registered User
    Join Date
    Nov 2010
    Posts
    16

    Re: Getting Carbide 2.7 to compile QT apps / Symbian^3 0.9

    Quote Originally Posted by danhicksbyron View Post
    I don't know about the Nokia_Symbian3_SDK, but with plain old Qt 4.6.3 for Symbian the proper Qt paths should be C:\QtSymbian\4.6.3\bin and C:\QtSymbian\4.6.3\include -- not paths inside epoc32.
    For whatever reason, QT isn't generating the moc*.h files....

    I shall try downloading a standalone Symbian QT then.


    Anywhere I can download 4.6.3, as only an older version is available, and the 4.7.1.

    Since the N8 has 4.6.3(?) installed, I like to be consistent between builds for device and simulator.

    Thanks,


    UPDATE: I installed QT 4.7.1, configured Carbide... and success!!!

    The QT installation provided by Symbian^3 0.9 appears to be broken.

    Whats the best way of installing QT on to the Emulator?

    Thanks for your help.



    Stewart
    Last edited by stewarth01; 2010-12-15 at 04:47.

  7. #7
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: Getting Carbide 2.7 to compile QT apps / Symbian^3 0.9

    It seems like they really try to hide this stuff -- you can't find it unless you know where it is:

    http://ftp3.ie.freebsd.org/pub/troll...urce-4.6.3.exe

    The best way to install Qt on Carbide is to install the individual components, vs trying to "borrow" Qt from the Qt SDK.

Similar Threads

  1. Qt SDK and Nokia's 'signing Symbian apps for free'
    By Utumno in forum [Archived] Qt SDKs and Tools
    Replies: 5
    Last Post: 2010-09-17, 05:35
  2. Replies: 2
    Last Post: 2004-08-20, 11:49

Posting Permissions

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