Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Eclipse Integration 1.6.1: qtcppdesigner causes org.eclipse.swt.SWTException: Invalid thread access
Forum Update on Tuesday, May 27th 2025

Eclipse Integration 1.6.1: qtcppdesigner causes org.eclipse.swt.SWTException: Invalid thread access

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 4.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    onamatic
    wrote on 27 Aug 2010, 09:20 last edited by
    #1

    FYI:

    Under Eclipse Galileo and Helios (CDT 6 and 7), Linux X86_64, qt designer (com.trolltech.qtcppdesigner) causes the CDT Reference Search feature to fail with "org.eclipse.swt.SWTException: Invalid thread access". (The designer Is being polled for dirty files when this happens (see stack below) but it doesn't make any difference if the ui file is dirty or not).

    Edit: This also affects other CDT search features.

    Workaround: close qtdesigner before using the Reference feature.

    Stack:

    org.eclipse.swt.SWTException: Invalid thread access
    at org.eclipse.swt.SWT.error(SWT.java:3884)
    at org.eclipse.swt.SWT.error(SWT.java:3799)
    at org.eclipse.swt.SWT.error(SWT.java:3770)
    at org.eclipse.swt.widgets.Widget.error(Widget.java:450)
    at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:389)
    at com.trolltech.qtcppdesigner.views.embedded.FormWindowW.isDirty(FormWindowW.java:141)
    at com.trolltech.qtcppdesigner.editors.UiEditor.isDirty(UiEditor.java:159)
    at org.eclipse.ui.internal.EditorManager.collectDirtyEditors(EditorManager.java:276)
    at org.eclipse.ui.internal.EditorManager.getDirtyEditors(EditorManager.java:566)
    at org.eclipse.ui.internal.WorkbenchPage.getDirtyEditors(WorkbenchPage.java:2071)
    at org.eclipse.cdt.ui.CUIPlugin.getDirtyEditors(CUIPlugin.java:690)
    ...

    1 Reply Last reply
    0
    • N Offline
      N Offline
      nocnokneo
      wrote on 12 Jul 2012, 12:36 last edited by
      #2

      Are there any updates on this issue? I also experience the problem and would prefer to not need the clunky workaround of closing all Qt Designer views.

      1 Reply Last reply
      0
      • O Offline
        O Offline
        onamatic
        wrote on 13 Jul 2012, 09:16 last edited by
        #3

        [quote author="Taylor Braun-Jones" date="1342096585"]Are there any updates on this issue? I also experience the problem and would prefer to not need the clunky workaround of closing all Qt Designer views.[/quote]

        None as far as I know - Eclipse Integration is still at 1.6.1 (seems development has ceased?) and the bug still exists under Eclipse Indigo. It causes many other problems too.

        I just use Qt Designer/Creator externally if I need to work with gui stuff as I also found problems using custom widgets with EI.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved