Results 1 to 20 of 56

Thread: Handcoder's IDE for Qt

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2007
    Posts
    58
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanked 2 Times in 2 Posts

    Default Re: Handcoder's IDE for Qt

    I tested version 0.1.17. This version has fixed almost all problems: the class browser works, code completion works, even some kind of tooltip appears to reminds you the parameters of the function, which I find extremely useful.

    Anyway there's still something that doesn't work: Build->Run. Even I have added C:\Qt\4.2.3\bin to the path nothing happens when I select that option. There's a message in the console saying that it's running the executable (the path that appears is right).

  2. #2
    Join Date
    Feb 2007
    Location
    Philadelphia, USA
    Posts
    255
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    43
    Thanked 21 Times in 21 Posts

    Default Re: Handcoder's IDE for Qt

    Quote Originally Posted by Pepe View Post
    I tested version 0.1.17. This version has fixed almost all problems: the class browser works, code completion works, even some kind of tooltip appears to reminds you the parameters of the function, which I find extremely useful.

    Anyway there's still something that doesn't work: Build->Run. Even I have added C:\Qt\4.2.3\bin to the path nothing happens when I select that option. There's a message in the console saying that it's running the executable (the path that appears is right).
    Pepe, I believe this is a subtle problem having to do with your program somehow seeing the 4.3.0 libraries instead of the 4.2.3 when it is launched from within HiQt.... (I assume the program works fine when you launch it from, say, windows explorer?) Can you please confirm whether this is the same behavior when you compile and run a simple Qt example program, say from the 4.2.3 examples?

    I have an idea of how to fix, and I may just send you a patched version of 0.1.17 once you respond regarding above points.

    BTW, so you saw the "qt_include_path" configuration parameter I assume?

    Hang in, because next release will have option of QScintilla editor.

    Cheers

  3. #3
    Join Date
    Mar 2007
    Posts
    58
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanked 2 Times in 2 Posts

    Default Re: Handcoder's IDE for Qt

    Quote Originally Posted by magland View Post
    (I assume the program works fine when you launch it from, say, windows explorer?)
    Yes.

    Quote Originally Posted by magland View Post
    Can you please confirm whether this is the same behavior when you compile and run a simple Qt example program, say from the 4.2.3 examples?
    I think the problem could be related to paths with spaces.

    I tried with one of the Qt examples (C:\Qt\4.2.3\examples\mainwindows\application) and Build->Run works. But if I copy it to C:\Documents and Settings\Pepe\My Documents (compile it again) then Build->Run does not work.

    Quote Originally Posted by magland View Post
    BTW, so you saw the "qt_include_path" configuration parameter I assume?
    Yes.
    Last edited by Pepe; 10th August 2007 at 07:56.

  4. #4
    Join Date
    Feb 2007
    Location
    Philadelphia, USA
    Posts
    255
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    43
    Thanked 21 Times in 21 Posts

    Default Re: Handcoder's IDE for Qt

    Quote Originally Posted by Pepe View Post
    I think the problem could be related to paths with spaces.
    I tried with one of the Qt examples (C:\Qt\4.2.3\examples\mainwindows\application) and Build->Run works. But if I copy it to C:\Documents and Settings\Pepe\My Documents (compile it again) then Build->Run does not work.
    So, if you move your non-qt-example program to a path without spaces does it run? If so, your problem is solved for now, - just don't develop within "documents and settings" and the like.

    I will try to fix this problem for next release. Does anybody know the best way to use QProcess::start with a program with spaces in the path?

  5. #5
    Join Date
    Mar 2007
    Posts
    58
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanked 2 Times in 2 Posts

    Default Re: Handcoder's IDE for Qt

    I changed line 957 in HiQtMainWindow.cpp:
    Qt Code:
    1. process->start(targetpath);
    To copy to clipboard, switch view to plain text mode 

    with

    Qt Code:
    1. process->start("\""+targetpath+"\"");
    To copy to clipboard, switch view to plain text mode 

    and now it works.

  6. The following user says thank you to Pepe for this useful post:

    magland (10th August 2007)

  7. #6
    Join Date
    Jun 2006
    Location
    Regensburg, Bavaria
    Posts
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    2

    Default Re: Handcoder's IDE for Qt

    Hello
    First of all: Great work. Especially when in version 0.2.0 there will be line numbers etc...

    But what I would like to suggest is one improvement/change concerning the code completion. Let's say there are two functions funcOne and funcTwo. Let's assume they are member functions of some class X and when I have an object obj of X and I write:
    Qt Code:
    1. obj->funcO
    To copy to clipboard, switch view to plain text mode 
    the right item funcOne is selected. So far so good.

    Now it would be really nice if when I type 'funcO' and then '(' it would be the same as pressing enter, i.e. after the '(' the completion would insert:
    Qt Code:
    1. obj->funcOne(
    To copy to clipboard, switch view to plain text mode 

    I hope this is possible, as it would imho improve the workflow.

    Regards

  8. #7
    Join Date
    Feb 2007
    Location
    Philadelphia, USA
    Posts
    255
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    43
    Thanked 21 Times in 21 Posts

    Default Re: Handcoder's IDE for Qt

    Quote Originally Posted by QTmplayer View Post
    Hello
    First of all: Great work. Especially when in version 0.2.0 there will be line numbers etc...
    Thanks, I think you will like 0.2.0...

    Quote Originally Posted by QTmplayer View Post
    But what I would like to suggest is one improvement/change concerning the code completion. Let's say there are two functions funcOne and funcTwo. Let's assume they are member functions of some class X and when I have an object obj of X and I write:
    Qt Code:
    1. obj->funcO
    To copy to clipboard, switch view to plain text mode 
    the right item funcOne is selected. So far so good.

    Now it would be really nice if when I type 'funcO' and then '(' it would be the same as pressing enter, i.e. after the '(' the completion would insert:
    [CODE]obj->funcOne([/CODE

    I hope this is possible, as it would imho improve the workflow.

    Regards
    Actually, QTmplayer, that functionality was in the original versions, but I took it out for the following reason: Suppose the code completions was not 100% accurate, and it missed some funky function called , say "funcO" to go a along with your example. Then I would like to override the completion list and just type funcO(, but that of course would give the undesired result.

    Nevertheless, it's easy enough to put in a check box in the preferences called "Complete code on open parenthesis". so I'll make a note to put it in for 0.2.0

  9. The following user says thank you to magland for this useful post:

    QTmplayer (31st August 2007)

  10. #8
    Join Date
    Feb 2007
    Location
    Philadelphia, USA
    Posts
    255
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    43
    Thanked 21 Times in 21 Posts

    Default Re: Handcoder's IDE for Qt

    HaiQ 0.2.0 for Windows released!

    Lots of changes... hope you like it.

  11. #9
    Join Date
    Feb 2007
    Location
    Philadelphia, USA
    Posts
    255
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    43
    Thanked 21 Times in 21 Posts

    Default Re: Handcoder's IDE for Qt

    This thread will be closed, and the discussion will continue in a separate thread.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.