Results 1 to 7 of 7

Thread: emacs qt-mode

  1. #1
    Join Date
    Feb 2007
    Posts
    48
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default emacs qt-mode

    I've been working with QT4 for about 3 months. I perfer to use emacs as my main code editior and was wondering if someone had a good qt-mode.el or knew where I could get one. I tried the one that was in the emacs wiki page but is it buggy - can't seem to get it to work. The emacs is used both on linux and windows.

  2. #2
    Join Date
    Feb 2007
    Posts
    48
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: emacs qt-mode

    Well I've gotten a little closer to what I need. In web searches I found reference to agulbra-c++-stuff.el ... does anyone know where a copy could be found?

  3. #3
    Join Date
    Aug 2006
    Location
    Bangalore,India
    Posts
    419
    Thanks
    37
    Thanked 53 Times in 40 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: emacs qt-mode

    According to the posts here the file is supposed to be on server listed there.
    Also according to this post, the solution listed in emacs-wiki seems to be similar to that of post.

    I am using the emacs-wiki solution without much problem
    The biggest difference between time and space is that you can't reuse time.
    -- Merrick Furst

  4. #4
    Join Date
    Feb 2007
    Posts
    48
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Arrow Re: emacs qt-mode

    I have also been using the solution on the wiki with some corrections. The one thing I can't get to work right is the indentation for the 'private slot:' and usually the following line. Instead of indenting it moves it all the way to the left.

    Where you able to correct that problem?? If so what is the change?

    Thanks for your response

  5. #5
    Join Date
    Aug 2006
    Location
    Bangalore,India
    Posts
    419
    Thanks
    37
    Thanked 53 Times in 40 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: emacs qt-mode

    I am using the jk/c-mode-common-hook defined in the emacswiki without modification.
    I don't have the problem which you have
    OTOH the line previous to public slots: gets indented towards right (some 20 spacings) if empty and i press tab. But the moment i type any electric character everything works fine.
    BTW I am using emacs-23-cvs-snapshot. Which version are you using ?
    The biggest difference between time and space is that you can't reuse time.
    -- Merrick Furst

  6. #6
    Join Date
    Feb 2007
    Posts
    48
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: emacs qt-mode

    I'm using the version with RHEL 4... I think it is 21.?? Anyway I still get the problem

  7. #7
    Join Date
    Aug 2006
    Location
    Bangalore,India
    Posts
    419
    Thanks
    37
    Thanked 53 Times in 40 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: emacs qt-mode

    Quote Originally Posted by db View Post
    I'm using the version with RHEL 4... I think it is 21.?? Anyway I still get the problem
    May be it is 21, but the monospaced font support is too good in 23. Also the new feature of using lisp expressions in replace-regexp is very handy
    The biggest difference between time and space is that you can't reuse time.
    -- Merrick Furst

Similar Threads

  1. Replies: 2
    Last Post: 22nd July 2007, 19:21
  2. qodbc driver not loaded error in release mode
    By mandal in forum Qt Programming
    Replies: 1
    Last Post: 14th November 2006, 09:42
  3. Append mode in QFile
    By Sarma in forum Qt Programming
    Replies: 1
    Last Post: 12th May 2006, 11:47
  4. QtFileDialog: Mode Question!
    By Mokster in forum Qt Programming
    Replies: 0
    Last Post: 21st April 2006, 21:41
  5. Unable to execute in Debug Mode
    By Kapil in forum Installation and Deployment
    Replies: 38
    Last Post: 5th April 2006, 07:27

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.