Results 1 to 20 of 52

Thread: HaiQ - IDE for Qt4

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2007
    Posts
    32
    Thanks
    3
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: HaiQ - IDE for Qt4

    Thanks for your HaiQ IDE. It's great for me.
    I found few bugs during first try.

    QT version: 4.3.2
    HaiQ version: 0.2.5-1

    1. form can't be previewed.
    Procedure: open Haiq with Haiq.pro -> browser a FORM like "HaiQConfiguration.ui" -> press the button "Preview form" -> HaiQ will be closed immediately

    2. No selection of help item will cause program crash.
    Procedure: open Haiq -> Press F1 or select the "Qt help on current word" in Help page -> do not select any item in the poped up windows but just press OK -> HaiQ will be crashed

    3. Same as issue 2 but change to project help item.
    Procedure: open Haiq with Haiq.pro -> Select "Project help on current word" in Help page -> don not select any item but press OK -> Haiq crashed

    is there any bug tracking system for HaiQ where I can submit?

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

    Default Re: HaiQ - IDE for Qt4

    Hi Sam,

    I was not able to reproduce bug #1 on windows, but I was able to reproduce the crashes in items #2 and #3 - so those will be fixed soon. And I'll look into form preview as well. Thanks for the report.

    Please download latest version (0.2.6) - and see the changes in the post from a few minutes ago.

    For now send bugs via email - later we will create a bug tracker.




    Quote Originally Posted by SamT View Post
    Thanks for your HaiQ IDE. It's great for me.
    I found few bugs during first try.

    QT version: 4.3.2
    HaiQ version: 0.2.5-1

    1. form can't be previewed.
    Procedure: open Haiq with Haiq.pro -> browser a FORM like "HaiQConfiguration.ui" -> press the button "Preview form" -> HaiQ will be closed immediately

    2. No selection of help item will cause program crash.
    Procedure: open Haiq -> Press F1 or select the "Qt help on current word" in Help page -> do not select any item in the poped up windows but just press OK -> HaiQ will be crashed

    3. Same as issue 2 but change to project help item.
    Procedure: open Haiq with Haiq.pro -> Select "Project help on current word" in Help page -> don not select any item but press OK -> Haiq crashed

    is there any bug tracking system for HaiQ where I can submit?

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

    Default Re: HaiQ - IDE for Qt4

    Bugs #2 and #3 posted by SamT have been fixed, and a new release is available:HaiQ 0.2.6-1.

    This version also has .pro file syntax highlighting.

    I'd like to get some feedback on whether this IDE truly is "crash-free" as I suspect it is now that a long-standing bug has been fixed with 0.2.6. Incidentally, the occassional random crash was caused by the notorious pitfall of using (myhash["mykey"]) instead of (myhash.contains("mykey")), thus creating some null pointers in a hash variable!

    Of course there seems to be a problem with form previews, according to samT, but I cannot reproduce.

  4. #4
    Join Date
    Oct 2007
    Posts
    32
    Thanks
    3
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: HaiQ - IDE for Qt4

    Hi magland,

    Thanks for your promot reply. I find a minor issue on 0.26 as attched pic.
    For the preview form, when I press the button, HaiQ terminate immediately without any crash or error information.
    Attached Images Attached Images

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

    Default Re: HaiQ - IDE for Qt4

    SamT,

    Thanks, I fixed that display issue with the config dialog, and released 0.2.6-3.

    I still cannot reproduce your form preview crash, so I put in a bunch of debug statements to the console for the "preview form" function. Please try it and send me the console output.

    You can send this info via email: Jeremy dot Magland at gmail dot com

  6. #6
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: HaiQ - IDE for Qt4

    Some notes (mostly just my personal taste):

    1. I can't do an out-of-source build (maybe a qmake limitation? - I know that it won't work on windows, but should work on linux)
    2. usage() in src/qmake-HaiQ/qmake/option.cpp has too many '%s'
    3. there are a lot of warnings about unused variables - is this intented?
    4. You're using much "/" instead of '/' which should be much faster (no conversion from const char* to needed). The same with 'return ""' instead 'return QString()'
    5. sometimes your function takes 'QString foo' instead 'const QString &foo')
    6. you compare QStrings to "" instead use QString::isEmpty()
    7. Do you programm with msvc6 because of this:
    Qt Code:
    1. int j;
    2. for (j=0; j<action_list.count(); j++)
    To copy to clipboard, switch view to plain text mode 
    which should imho be rewritten by this
    Qt Code:
    1. for (int j=0; j<action_list.count(); j++)
    To copy to clipboard, switch view to plain text mode 
    To avoid confusion

    /edit: some more:

    - The links in the about box do not work: "Der Befehl lässt sich nicht ausführen. Die Datei oder der Ordner file:///home/ehrlicher_c/tmp/HaiQ-0.2.6-3/www.trolltech.com existiert nicht."
    - "make install" is not available
    - Tools -> Configuration gives me those warnings: "Warning: QProcess: Destroyed while process is still running."
    - imho is AStyle executable named 'astyle' on linux (and not AStyle)
    Last edited by ChristianEhrlicher; 15th October 2007 at 09:05.

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

    Default Re: HaiQ - IDE for Qt4

    ChristianEhrlicher,

    Thanks for your tips... I think these will improve the code as well as my code style going forward.

    The following points have resulted in change throughout the code that will be reflected in next release (or immediately by svn):

    * you compare QStrings to "" instead use QString::isEmpty()
    * The same with 'return ""' instead 'return QString()'
    * for (j=0; j<action_list.count(); j++) should imho be rewritten by this for (int j=0; j<action_list.count(); j++)
    * sometimes your function takes 'QString foo' instead 'const QString &foo')
    * imho is AStyle executable named 'astyle' on linux (and not AStyle)
    * usage() in src/qmake-HaiQ/qmake/option.cpp has too many '%s'
    This file was written by the Trolls themselves

    * I can't do an out-of-source build (maybe a qmake limitation? - I know that it won't work on windows, but should work on linux)
    * "make install" is not available
    I will need assistance with these items, because I am unfamiliar. Perhaps somebody could take a look at the .pro file and suggest some easy changes that would enable out-of-source build and "make install". One concern is that HaiQ uses data in the "templates", "3rdparty", and "plugins" directories.


    * there are a lot of warnings about unused variables - is this intented?
    I don't get any such warnings with MinGW (except for the code written by the Trolls in qmake-HaiQ)

    * You're using much "/" instead of '/' which should be much faster (no conversion from const char* to needed).
    I think this is too minor to change throughout, but I keep it in mind for future.

    - The links in the about box do not work: "Der Befehl lässt sich nicht ausführen. Die Datei oder der Ordner file:///home/ehrlicher_c/tmp/HaiQ-0.2.6-3/www.trolltech.com existiert nicht."
    I've added "http://" to beginning... maybe that will help. Do the links at the bottom work (e.g. ctags)?

    - Tools -> Configuration gives me those warnings: "Warning: QProcess: Destroyed while process is still running."
    Please ignore those particular warnings.

  8. #8
    Join Date
    Oct 2007
    Posts
    32
    Thanks
    3
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: HaiQ - IDE for Qt4

    How can I add new files(*.c, *.H, *.ui) into project file(*.pro) automatically? Now, I need to use qmake -project to generate the file outside HaiQ?

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

    Default Re: HaiQ - IDE for Qt4

    Quote Originally Posted by SamT View Post
    How can I add new files(*.c, *.H, *.ui) into project file(*.pro) automatically? Now, I need to use qmake -project to generate the file outside HaiQ?
    The philosophy of HaiQ is for the user to directly manage the .pro file. (Although I am planning on adding some automatic capabilities in future for adding files)

    Double click on the project from the project tree. This brings up the .pro file in the editor. Then type SOURCES += myfile.c, HEADERS += myfile.h, etc. Upon saving changes, everything will update automatically.
    Last edited by magland; 15th October 2007 at 12:59.

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

    Default Re: HaiQ - IDE for Qt4

    HaiQ is now in version 0.2.7, with a number of fixes and improvements.

    I would also like to announce a new (and active) bug tracking / feature request web page...
    http://code.google.com/p/haiq.

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.