Discussion Board

Results 1 to 9 of 9
  1. #1
    Regular Contributor assayag's Avatar
    Join Date
    Jun 2008
    Posts
    213
    Hi,
    I'm new to Qt.
    I've tried to make a very simple application: an editable QTextEdit control.
    In Qt design, the layout is vertical.

    When I launch the application, everything is fine: I can write easily using the keyboard( I'm testing on Nokia N95 after installing the Qt package..).
    But if I close the application and open it again,something strange occurs:
    -the cursor is above the top left corner,
    -when I attempt to write something,I can see the text being writing above the first line
    -when I reach end of line,it never goes to the next line, instead it overwrites this first line again and again!

    Can someone gives some help?

    Thanks

    Assayag

  2. #2
    Regular Contributor assayag's Avatar
    Join Date
    Jun 2008
    Posts
    213
    Following the previous post,

    I've installed to my phone (Nokia N95 8GB), the fluidlauncher.sis Qt demoes.

    While opening the softkeys demo, that contains some text editor, buttons and combo box selection, the edited text is not readable at all, like the problem I've encountered with my application!
    Does anyone know if it is a firmware problem?
    Or maybe the device is not working well with Qt?

    What do you suggest?

    Assayag

  3. #3
    Regular Contributor datha_k's Avatar
    Join Date
    Jul 2007
    Location
    Dublin
    Posts
    240
    Have you tried your code in Qt for Windows?

  4. #4
    Regular Contributor assayag's Avatar
    Join Date
    Jun 2008
    Posts
    213
    No I've not tried my code on windows but I can say that it works perfectly on s60 emulator

  5. #5
    Regular Contributor datha_k's Avatar
    Join Date
    Jul 2007
    Location
    Dublin
    Posts
    240
    Quote Originally Posted by assayag View Post
    No I've not tried my code on windows but I can say that it works perfectly on s60 emulator
    Does that mean you have solved your problem in S60?
    Otherwise, If you still have problem with QTextEdit, you should try a running your app in Window. You may be doing something trivial mistake.

    -Datha

  6. #6
    Nokia Developer Champion gaba88's Avatar
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,692
    Hello Assayag

    First thing to check is if your QTextEdit properly on Windows as suggested on the previous post and ,
    the second thing is AFAIK Qt is recommended for devices starting from S60 v3 FP2, so that can be a problem altough i am not sure about.

    Regards,

  7. #7
    yes, you should always try Qt code on windows first because it is cross-platform.

  8. #8
    Regular Contributor assayag's Avatar
    Join Date
    Jun 2008
    Posts
    213
    The code works fine in windows, the layout organizes the controls properly and I can write normally...

  9. #9
    Nokia Developer Champion danhicksbyron's Avatar
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209
    It should be noted that the fonts available on the hardware are not the same fonts available in the emulator. This is one area where the emulator is less than perfect.

Similar Threads

  1. SyncML link problem
    By samuel_ in forum Symbian C++
    Replies: 4
    Last Post: 2009-03-27, 08:02
  2. Problem with eglSwapBuffers and heap corruption
    By greatape in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-05-24, 03:35
  3. netcards - Problem with opening adapter
    By kernj in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-01-10, 08:56
  4. Problem: S60 SDK for CW in PC with .NET
    By anttij in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2005-02-28, 11:36

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved