Krachs
19th November 2014, 21:03
First off I have to say I a still very new at using Qt and I inherited all the applications I am working on.
I have been working on updating three applications from using Qt version 4.4.3 to 5.3 and these applications worked just fine before hand. These applications have two components as far a qt is concerned, a common library for Qt application widgets and a application layer that contains the specific widgets and other gui components for that application. Although the three application layer components are different there are structured in the same way and have a lot of duplicate code. So far I have managed to update the common library and two of the application layer components and they are working great, then there is the third application. I went through the exact same process as i did on the other two applications but for some reason I cannot get this one to start properly. The error i am getting is:
QWindowsWindow::setGeometry: Unable to set geometry 6186674x454+0+0 on QWidgetWindow/'lightPaneWindow'. Resulting geometry: 65519x454+0+0 (frame: 8, 30, 8, 8, custom margin: 0, 0, 0, 0, minimum size: 524297x454, maximum size: 16777215x16777215).
If the application were to open correctly it should result in a gui about 6x6 inches or so, but instead it seem to be trying to extent the width of the gui off into the horizon. While trying to debug this issue I have found that disabling the signals for one of the QComboBoxes in the application layer seems to allow the application to start correctly, or at least with the right dimensions.
Any help or guidance for this issue would be greatly appreciated.
I have been working on updating three applications from using Qt version 4.4.3 to 5.3 and these applications worked just fine before hand. These applications have two components as far a qt is concerned, a common library for Qt application widgets and a application layer that contains the specific widgets and other gui components for that application. Although the three application layer components are different there are structured in the same way and have a lot of duplicate code. So far I have managed to update the common library and two of the application layer components and they are working great, then there is the third application. I went through the exact same process as i did on the other two applications but for some reason I cannot get this one to start properly. The error i am getting is:
QWindowsWindow::setGeometry: Unable to set geometry 6186674x454+0+0 on QWidgetWindow/'lightPaneWindow'. Resulting geometry: 65519x454+0+0 (frame: 8, 30, 8, 8, custom margin: 0, 0, 0, 0, minimum size: 524297x454, maximum size: 16777215x16777215).
If the application were to open correctly it should result in a gui about 6x6 inches or so, but instead it seem to be trying to extent the width of the gui off into the horizon. While trying to debug this issue I have found that disabling the signals for one of the QComboBoxes in the application layer seems to allow the application to start correctly, or at least with the right dimensions.
Any help or guidance for this issue would be greatly appreciated.