×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    19

    carbide QT ui creation problem

    I am having real difficulty to use QT on Carbide.

    I have
    - s60 5.0 version 1 installed in C:\S60\devices\S60_5th_Edition_SDK_v1.0
    - epocroot \S60\devices\S60_5th_Edition_SDK_v1.0\
    - using carbide 2.0.0
    - extract QT to C:\qt\4.5.0-garden, configure and build fine according to the instruction
    - added C:\qt\4.5.0-garden\bin into carbide QT preference

    - create Helloworld Project ... QT Gui Dialog

    click on the file helloworld.ui to create dialog but then this error comes out

    Could not open the editor: An unexpected exception was thrown.
    java.lang.NullPointerException
    at com.trolltech.qtcppdesigner.views.embedded.FormWindowW.addFormWindowWListener(FormWindowW.java:356)
    at com.trolltech.qtcppdesigner.editors.UiEditor.createPartControl(UiEditor.java:123)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
    at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:306)
    at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
    at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
    at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
    at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
    at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
    at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
    at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
    at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
    at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
    at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
    at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
    at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217)
    at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
    at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:779)
    at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:678)
    at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:639)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2817)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
    at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2643)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:646)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:605)
    at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:99)
    at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:99)
    at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:221)
    at org.eclipse.ui.internal.navigator.CommonNavigatorManager$3.open(CommonNavigatorManager.java:184)
    at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:820)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.runtime.Platform.run(Platform.java:880)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
    at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:818)
    at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1079)
    at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:372)
    at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1183)
    at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:263)
    at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:257)
    at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:297)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1236)


    I tried numerous times but this always happens. what is the problem??

  2. #2
    Registered User
    Join Date
    Jul 2008
    Posts
    19

    Re: carbide QT ui creation problem

    after installing again it works. problem with my environment.

  3. #3
    Registered User
    Join Date
    Jan 2009
    Location
    ભારત->ગુજરાત->ભાવનગર
    Posts
    279

    Post Re: carbide QT ui creation problem

    I have
    - s60 5.0 version 1 installed in C:\S60\devices\S60_5th_Edition_SDK_v1.0
    - epocroot \S60\devices\S60_5th_Edition_SDK_v1.0\
    - using carbide 2.0.0
    - extract QT to C:\qt\4.5.0-garden, configure and build fine according to the instruction
    - added C:\qt\4.5.0-garden\bin into carbide QT preference
    hii

    Hey friend i want to know that have configured the carbid c++ winscw Enviroment,if you have not done this then plz configure( start->program->carbid c++ ->WINSCW ) and then run the commands that are given in QT INSTALL file.

  4. #4
    Registered User
    Join Date
    Oct 2008
    Posts
    11

    Re: carbide QT ui creation problem

    Hi,

    I have exactly the same problem. Everytime I open the QT GUI Editor I get the same message. What did you exactly reinstall? Did you just reinstall the qt sdk or even carbide.c++ and the S60 SDK?

    I'm using Carbide 2.0.2, S60 FP2, QT SDK Garden Pre Release.

    Thank you in advance,

    Networx

  5. #5
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: carbide QT ui creation problem

    Once configure the environment for use with the S60 emulator. This is done by locating the Carbide.c++ submenu on the Start menu, and choosing "Configure environment for WINSCW command line".

    If still its not work, then follow all the step followed by step 4 from this link.
    http://pepper.troll.no/s60prerelease...stall-s60.html

  6. #6
    Registered User
    Join Date
    Oct 2008
    Posts
    11

    Re: carbide QT ui creation problem

    Hi,

    thanks for your quick response! Well, I followed those instructions you posted me in the first place - I ran the carbide configuration tool after I set the path for qt and then compiled qt as described. Anyway, I did the same procedure again beginning from the 4th step. Unfortunately nothing has changed at all. I'll have to reinstall Carbide anyway because since I updated to Version 2.0.2 (plus some eclipse platform updates) the IDE became a real mess. For example I can't even switch a window tab without getting an IndexOutOfBounceException... I updated the ide because of qt in the first place - didn't work using carbide 2.0, either.

    Any other suggestions what could cause this problem?
    Do you need any more information about my system/configuration? I'm using Windows Vista. Regular Symbian C++ development (FP1, FP2 and 5th Edition) works without any problems.

    Thank you once again!

  7. #7
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: carbide QT ui creation problem

    Problem might be in your IDE configuration, Try to reinstalling carbide. Also note that Carbide 2.0 work well with Qt.

  8. #8
    Registered User
    Join Date
    Jul 2009
    Posts
    1

    Re: carbide QT ui creation problem

    Im having the exact same message, whenever i try to open a .ui or
    something.


    Thanks.

  9. #9
    Registered User
    Join Date
    Jan 2009
    Location
    Melbourne, Australia
    Posts
    2,571

    Re: carbide QT ui creation problem

    I am having the same problem on the Tower release (I also had it on the Garden release). I'm running vista, using Carbide 2.0.4 from the ADT v1.0 release, and on the S60 5.10 SDK from Symbian Foundation website. I've followed the instructions religiously including setting the path, running configure, installing SDK/Qt/Carbide all on same (C) drive, running the configuration to tell carbide which version of Qt I'm using. I even updated to try the most recent version of Java RE. No luck.

    Has anyone got any ideas how to get this working?

  10. #10
    Registered User
    Join Date
    Mar 2003
    Posts
    44

    Re: carbide QT ui creation problem

    It sounds like some of the COM plugins are not registered. This should be registered by the installer, but you can also do some manually to see if it fixes the problem. Try running \configuration\qt\register_plugins.bat from your Carbide installation.

    Thanks,
    Warren

  11. #11
    Registered User
    Join Date
    Jan 2009
    Location
    Melbourne, Australia
    Posts
    2,571

    Re: carbide QT ui creation problem

    Quote Originally Posted by wapawapa View Post
    It sounds like some of the COM plugins are not registered. This should be registered by the installer, but you can also do some manually to see if it fixes the problem. Try running \configuration\qt\register_plugins.bat from your Carbide installation.

    Thanks,
    Warren
    Warren, you are right - this fix worked. Thank you!

Similar Threads

  1. Problem in installing Carbide C++
    By vinay_pdy in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 3
    Last Post: 2009-03-28, 19:40
  2. Carbide C++ IDE problem
    By saha_forumnokia in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2007-11-13, 16:12
  3. Syntax highlighting problem in Carbide C++
    By noahsark in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2007-09-24, 17:52
  4. Replies: 0
    Last Post: 2006-09-28, 08:56

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×