Results 1 to 7 of 7

Thread: qt-designer 4.4.1 don't save a signal/slot

  1. #1
    Join Date
    Jul 2007
    Location
    Jundiai/SP, Brazil
    Posts
    114
    Thanks
    5
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Unhappy qt-designer 4.4.1 don't save a signal/slot

    Hi All,

    When I create a signal/slot via qt-designers editor it doesn't save correctly the instruction in the file .ui. The qt-designer is not creating the section <connection>.

    Someone help-me? Please

    Thanks in advanced.

  2. #2
    Join Date
    Jul 2007
    Location
    Jundiai/SP, Brazil
    Posts
    114
    Thanks
    5
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qt-designer 4.4.1 don't save a signal/slot

    Hi All,

    Come on people any suggestions? I install qt-4.4.2 and the problem persists.
    Make downgrade to 4.3.5 and all works fine. The qt-designer create the <connection> section normaly.

    This occours in X11 and Windows.

    Thanks

  3. #3
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: qt-designer 4.4.1 don't save a signal/slot

    The attached .ui file was created with Qt Designer 4.4.1. It does contain signal slot connections...
    Attached Files Attached Files
    J-P Nurmi

  4. #4
    Join Date
    Jul 2007
    Location
    Jundiai/SP, Brazil
    Posts
    114
    Thanks
    5
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qt-designer 4.4.1 don't save a signal/slot

    Hi

    Really it has, but I don't know what say about this, since I create a .ui file using 4.4.1 or 4.4.2 in the window$ and linux. But here it wasn't created.

    See my test. File test01.ui

    Created on window$ 4.4.1 and in Linux is the same.

    Thanks
    Attached Files Attached Files

  5. #5
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: qt-designer 4.4.1 don't save a signal/slot

    Could you provide step by step instructions how to reproduce the problem? We must do something differently if the same version works for me but not for you.
    J-P Nurmi

  6. #6
    Join Date
    Jul 2007
    Location
    Jundiai/SP, Brazil
    Posts
    114
    Thanks
    5
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qt-designer 4.4.1 don't save a signal/slot

    Well,

    I create a widget and add a pushbutton, and I add a signal via Signal/slot Editor, in this case I click em 'plus' button and fill the cells Sender, Signal and Receiver. At this moment all works.
    Then I save de project via File|Save Form normally. But when I reopen the file, the signel is not saved.
    Of the same mode that I do in the 4.3.5.

    Thanks

  7. #7
    Join Date
    Jul 2007
    Location
    Jundiai/SP, Brazil
    Posts
    114
    Thanks
    5
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qt-designer 4.4.1 don't save a signal/slot

    I discover the "problem". The qt-designer 4.4.x doesn't create a section <connection> in .ui file if I not choose a slot predefined. If I leave the slot defined with <slot> the section <connection> doesn't saved. But in 4.3.5 version were permitted.

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.