- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Small fix related to Qt 4.7.2
Page Start Prev 1 Next End
Small fix related to Qt 4.7.2
Re: Small fix related to Qt 4.7.2
Apr-09-11 15:25:19
I had OMOptim compile using:
Ubuntu 64-bit (GCC 4.4, Qt 4.7.0)
MacPorts 64-bit (GCC 4.2, Qt 4.7.2)
Since mine works, I tried GCC 4.6 (which I also happen to have installed).
Code:
../GUI/Widgets/WidgetMooPointsList.cpp:63:100: error: cannot call constructor 'QSizePolicy::QSizePolicy' directly [-fpermissive]
I wonder why GCC 4.4 accepts Class::Class for the constructor, and GCC 4.6 does not
Code:
- _listPoints->setSizePolicy(QSizePolicy::QSizePolicy(QSizePolicy::Maximum,QSizePolicy::Preferred));
+ _listPoints->setSizePolicy(QSizePolicy(QSizePolicy::Maximum,QSizePolicy::Preferred));
- sjoelund.se
- 1700 Posts
Page Start Prev 1 Next End
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Small fix related to Qt 4.7.2
There are 0 guests and 0 other users also viewing this topic