Re: [Interest] Issue updating from kubuntu 10.04 to kubuntu 12.04 (pangolin)
Have you tried removing/renaming the .pro.user file? Qt Creator will then recreate the file when you open your project. Most likely your build configuration refers to non-existing stuff from 10.04. /Harri On 04/30/2012 08:11 PM, jaume dominguez faus wrote: Hi list. Before yesterday I was a very happy programmer with my Qt Creator (I think it was version 1.4 but not sure) and the normal Qt tool chain. But yesterday, I upgraded my Kubuntu box from Lucid Linx (10.04) to Precise Pangolin (12.04) and now my project is not building anymore. The first thing the new QtCreator (version 2.4.1) complains about is a dialog with title Error creating MeeGo templates and the text Unable to create Debian templates: No Qt version set. If I continue (click Ok) and launch the build I get this error In file included from /usr/include/c++/4.6/bits/stl_algo.h:62:0, from /usr/include/c++/4.6/algorithm:63, from /usr/include/qt4/QtCore/qglobal.h:68, from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from QScaffy.h:5, - my file I don't dare to blame the gcc's stl library. But the truth is that the code has not changed and the error comes from a standard header file that is indirectly included when including QApplication. At this point, I can't really explain what happens besides some sort of #define that is not set or something like that. Did anybody experence this too? What happened? By the way, new KDE version has fixed a lot of problems :-) Thanks in advance. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Issue updating from kubuntu 10.04 to kubuntu 12.04 (pangolin)
The first thing the new QtCreator (version 2.4.1) complains about is a dialog with title Error creating MeeGo templates and the text Unable to create Debian templates: No Qt version set. If I continue (click Ok) and launch the build I get this error Try to deactivate the meego-plugin, if you don't need it. I don't have any QtCreator here right now and I'm not sure where this plugin is named like this. Just have a look at the plugin-list (help-menu/plugins) and deactivate the stuff you don't need. In file included from /usr/include/c++/4.6/bits/stl_algo.h:62:0, [...] There is no error here. The error message comes a couple of lines later. Post these lines. Alexander ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Issue updating from kubuntu 10.04 to kubuntu 12.04 (pangolin)
Thank you Constantin, Harri and Alexander. All of you had a bit of the solution for the problem. 1) yes, once deleted all the pro.user files, the meego dialog box is gone. 2) yes, the maintainers are somehow discarding the multimedia part of qt by default. i) the voice recording is not correctly set up or it is set up differently in this version because: a) the audio recording examples are missing 3) the multimedia library I used to use was included by QT += multimedia and now it seems to be QT += multimediakit instead 4) suprisingly, the compiler had something to do as well because a) this macro #define for_each(_type,_iter,_coll) for (_type::iterator _iter = _coll.begin(); _iter != _coll.end(); _iter++) which worked perfectly before is not valid anymore (this is probably some gcc's release notes I did not noticed) b) NULL is not recognised by default and now I have to #include cstddef all in all, it seems like I was a bit old-fashioned :) On 05/01/2012 09:20 AM, Alexander Semke wrote: The first thing the new QtCreator (version 2.4.1) complains about is a dialog with title Error creating MeeGo templates and the text Unable to create Debian templates: No Qt version set. If I continue (click Ok) and launch the build I get this error Try to deactivate the meego-plugin, if you don't need it. I don't have any QtCreator here right now and I'm not sure where this plugin is named like this. Just have a look at the plugin-list (help-menu/plugins) and deactivate the stuff you don't need. In file included from /usr/include/c++/4.6/bits/stl_algo.h:62:0, [...] There is no error here. The error message comes a couple of lines later. Post these lines. Alexander ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Looking for help or for a QT developer
On Sat, 28 Apr 2012 10:53:03 +0200, Cyril HAENEL wrote: Thus what I need is just a QT app which simulate a TFT screen by creating an 480x272 image in which ... Are you trying to reinvent qvfb ( http://qt-project.org/doc/qt-4.8/qvfb.html ) ? Uwe ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Issue updating from kubuntu 10.04 to kubuntu 12.04 (pangolin)
On 05/01/2012 11:14 AM, jaume dominguez faus wrote: Thank you Constantin, Harri and Alexander. All of you had a bit of the solution for the problem. No problem. I just upgraded to Kubuntu 12.04 myself from 11.10, and so far no problems. In fact developing with N9 got better: in 11.04 11.10 plugging in the USB in SDK mode on phone would hijack the network requiring network restart. That is gone in 12.04, so testing and deploying to N9 just got a little bit smoother. /Harri ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
[Interest] problem building qwt in windows
I installed Qwt4.2.0 to C:\Qt folder I currently have Qt version 4.6.1 installed in C:\Qt\4.6.1, which I have been using successfully with VS2008. Next, to build Qwt I open c:\Qt\Qwt\qwt.pro in VS2008 using the Qt plugin. After this when I try to compile this .pro file I get the following errors. Any idea what I can do to fix this? (All includes, libs etc. seem to be correctly configured since I open the .pro file using the Qt plugin). 1-- Build started: Project: qwt, Configuration: Debug Win32 -- 1Moc'ing qwt_wheel.h... 1Moc'ing qwt_thermo.h... 1Moc'ing qwt_slider.h... 1Moc'ing qwt_sldbase.h... 1Moc'ing qwt_scale.h... 1Moc'ing qwt_push_button.h... 1Moc'ing qwt_plot_zoomer.h... 1Moc'ing qwt_plot_picker.h... 1Moc'ing qwt_plot_canvas.h... 1Moc'ing qwt_plot.h... 1Moc'ing qwt_picker.h... 1Moc'ing qwt_legend.h... 1Moc'ing qwt_knob.h... 1Moc'ing qwt_dyngrid_layout.h... 1Moc'ing qwt_dial.h... 1Moc'ing qwt_counter.h... 1Moc'ing qwt_compass.h... 1Moc'ing qwt_analog_clock.h... 1Compiling... 1moc_qwt_wheel.cpp 1c:\qt\qwt\include\qwt_sldbase.h(53) : error C2061: syntax error : identifier 'Orientation' 1c:\qt\qwt\include\qwt_sldbase.h(54) : error C2146: syntax error : missing ';' before identifier 'orientation' 1c:\qt\qwt\include\qwt_sldbase.h(54) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1c:\qt\qwt\include\qwt_sldbase.h(54) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1c:\qt\qwt\include\qwt_sldbase.h(54) : warning C4183: 'orientation': missing return type; assumed to be a member function returning 'int' 1moc_qwt_thermo.cpp 1c:\qt\qwt\include\qwt_array.h(25) : fatal error C1083: Cannot open include file: 'qmemarray.h': No such file or directory 1moc_qwt_slider.cpp 1c:\qt\qwt\include\qwt_array.h(25) : fatal error C1083: Cannot open include file: 'qmemarray.h': No such file or directory 1moc_qwt_sldbase.cpp 1c:\qt\qwt\src\moc\debug\../../../include/qwt_sldbase.h(53) : error C2061: syntax error : identifier 'Orientation' 1c:\qt\qwt\src\moc\debug\../../../include/qwt_sldbase.h(54) : error C2146: syntax error : missing ';' before identifier 'orientation' 1c:\qt\qwt\src\moc\debug\../../../include/qwt_sldbase.h(54) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1c:\qt\qwt\src\moc\debug\../../../include/qwt_sldbase.h(54) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1c:\qt\qwt\src\moc\debug\../../../include/qwt_sldbase.h(54) : warning C4183: 'orientation': missing return type; assumed to be a member function returning 'int' 1.\src\moc\Debug\moc_qwt_sldbase.cpp(113) : error C2061: syntax error : identifier 'Orientation' 1.\src\moc\Debug\moc_qwt_sldbase.cpp(122) : error C2061: syntax error : identifier 'Orientation' 1moc_qwt_scale.cpp 1c:\qt\qwt\include\qwt_array.h(25) : fatal error C1083: Cannot open include file: 'qmemarray.h': No such file or directory 1moc_qwt_push_button.cpp 1c:\qt\qwt\src\moc\debug\../../../include/qwt_push_button.h(36) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1c:\qt\qwt\src\moc\debug\../../../include/qwt_push_button.h(36) : error C2143: syntax error : missing ',' before '' 1c:\qt\qwt\src\moc\debug\../../../include/qwt_push_button.h(41) : error C2146: syntax error : missing ';' before identifier 'textFormat' 1c:\qt\qwt\src\moc\debug\../../../include/qwt_push_button.h(41) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1c:\qt\qwt\src\moc\debug\../../../include/qwt_push_button.h(41) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1c:\qt\qwt\src\moc\debug\../../../include/qwt_push_button.h(41) : warning C4183: 'textFormat': missing return type; assumed to be a member function returning 'int' 1c:\qt\qwt\src\moc\debug\../../../include/qwt_push_button.h(42) : error C2061: syntax error : identifier 'TextFormat' 1.\src\moc\Debug\moc_qwt_push_button.cpp(78) : error C2061: syntax error : identifier 'TextFormat' 1.\src\moc\Debug\moc_qwt_push_button.cpp(79) : error C2061: syntax error : identifier 'Alignment' 1.\src\moc\Debug\moc_qwt_push_button.cpp(86) : error C2061: syntax error : identifier 'TextFormat' 1.\src\moc\Debug\moc_qwt_push_button.cpp(87) : error C2061: syntax error : identifier 'Alignment' 1moc_qwt_plot_zoomer.cpp Thank You, Caius ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest