[Qt-creator] Error compiling
Problems with compilation QtCreator with Qt (current master) * master bfe1b73 Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qml into master-integration QtCreator (current master) * master9b30763 Maemo: Factor out redundant code. Linux g++ -c -m64 -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DIDE_LIBRARY_BASENAME=\lib\ -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQT_CREATOR -DQT_CREATOR -DQT_NO_STYLE_S60 -DVIEWLOGGER -DENABLE_TEXT_VIEW -DQWEAKPOINTER_ENABLE_ARROW -DQDEBUG_IN_TESTS -DWARNINGS_IN_TESTS -DTEST_EXPORTS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DECLARATIVE_LIB -DQT_WEBKIT_LIB -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../../Qt/mkspecs/linux-g++-64 -I../../../../qt-creator/src/plugins/qmldesigner -I../../../../Qt/include/QtCore -I../../../../Qt/include/QtGui -I../../../../Qt/include/QtXml -I../../../../Qt/include/QtScript -I../../../../Qt/include/QtWebKit -I../../../../Qt/include/QtDeclarative -I../../../../Qt/include -I../../../../qt-creator/src/libs -I/home/ovs/soft/qt-creator/tools -I../../../../qt-creator/src/plugins -I../../../../qt-creator/src/shared -I/home/ovs/soft/qt-creator/src/libs/qmljs/../../shared/qmljs -I/home/ovs/soft/qt-creator/src/libs/qmljs/../../shared/qmljs/parser -I../../../../qt-creator/src/libs/3rdparty/botan/build -I../../../../qt-creator/src/shared/indenter -I../../../../qt-creator/src/shared -I/home/ovs/soft/qt-creator/src/libs/qmljs/../../shared/qmljs -I/home/ovs/soft/qt-creator/src/libs/qmljs/../../shared/qmljs/parser -I../../../../qt-creator/src/plugins/qmldesigner/designercore -I../../../../qt-creator/src/plugins/qmldesigner/designercore/include -I../../../../qt-creator/src/plugins/qmldesigner/components/integration -I../../../../qt-creator/src/plugins/qmldesigner/components/propertyeditor -I../../../../qt-creator/src/plugins/qmldesigner/components/propertyeditor/qtgradienteditor -I../../../../qt-creator/src/plugins/qmldesigner/components/formeditor -I../../../../qt-creator/src/plugins/qmldesigner/components/navigator -I../../../../qt-creator/src/plugins/qmldesigner/components/itemlibrary -I../../../../qt-creator/src/plugins/qmldesigner/components/navigator -I../../../../qt-creator/src/plugins/qmldesigner/components/pluginmanager -I../../../../qt-creator/src/plugins/qmldesigner/components/stateseditor -I../../../../qt-creator/src/plugins/qmldesigner/components/resources -I.moc/release-shared -I.uic -I. -o .obj/release-shared/itemlibrary.o ../../../../qt-creator/src/plugins/qmldesigner/components/itemlibrary/itemlibrary.cpp ../../../../qt-creator/src/plugins/qmldesigner/components/itemlibrary/itemlibrary.cpp: In constructor 'QmlDesigner::ItemLibrary::ItemLibrary(QWidget*)': ../../../../qt-creator/src/plugins/qmldesigner/components/itemlibrary/itemlibrary.cpp:169: error: cannot allocate an object of abstract type 'QmlDesigner::Internal::ItemLibraryImageProvider' ../../../../qt-creator/src/plugins/qmldesigner/components/itemlibrary/itemlibraryimageprovider.h:40: note: because the following virtual functions are pure within 'QmlDesigner::Internal::ItemLibraryImageProvider': ../../../../Qt/include/QtDeclarative/../../src/declarative/qml/qdeclarativeimageprovider.h:57: note:virtual QImage QDeclarativeImageProvider::request(const QString, QSize*, const QSize) make[4]: *** [.obj/release-shared/itemlibrary.o] Error 1 -- Oleg Shalnev (Kalpa Project) -- mailto: o...@kalpa.ru skype: oleg_shalnev jabber: oleg.shal...@gmail.com http://kalpa.ru ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Error compiling
On Wednesday 14 July 2010 10:01:27 ext Oleg Shalnev wrote: Problems with compilation QtCreator with Qt (current master) * master bfe1b73 Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qml into master-integration QtCreator (current master) * master9b30763 Maemo: Factor out redundant code. That's probably part of the aftermath of the recent changes to QDeclarative. That does not seem to have propagated to all Qt branches yet. In any case, the only tested and supported combination of unreleased version is Qt 4.7 branch together with Qt Creator master branch. Most notably, Qt master branch is not supported. Andre' ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Error compiling
I built Qt from git and Qt Creator from git yesterday. I had compilation error concerning qml, but don't remember it exactly. After I realized that i have built Qt without '-declarative' flag. After I rebuilt Qt with this flag everything compiled successfully. On 14 July 2010 11:13, André Pönitz andre.poen...@nokia.com wrote: On Wednesday 14 July 2010 10:01:27 ext Oleg Shalnev wrote: Problems with compilation QtCreator with Qt (current master) * master bfe1b73 Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qml into master-integration QtCreator (current master) * master9b30763 Maemo: Factor out redundant code. That's probably part of the aftermath of the recent changes to QDeclarative. That does not seem to have propagated to all Qt branches yet. In any case, the only tested and supported combination of unreleased version is Qt 4.7 branch together with Qt Creator master branch. Most notably, Qt master branch is not supported. Andre' ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] Build progress bar usefulness
Hi! I was wondering if there were any plans to make the build progress bar more useful, at the moment, it seems to have 3 states: 10%, 60% 100% For example, if I had 100 source files, each complete source file build would increment the compile step by 1%. Interestingly, I just saw the tooltip for the progress bar and it says 'Finished 3 of 2 build steps, hopefully that's just an order of parameters bug. Thanks! Alan ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Build progress bar usefulness
Alan, I submitted a ticket for this which you can vote for. http://bugreports.qt.nokia.com/browse/QTCREATORBUG-1265 Apparently make -n would give a lot of helpful information that would help Creator judge build progress. Last I heard (what's on the ticket) is that it's not a priority right now. But maybe more votes would make it one. :) Nathan On Jul 14, 2010, at 2:14 PM, alan.westbr...@nokia.com wrote: Hi! I was wondering if there were any plans to make the build progress bar more useful, at the moment, it seems to have 3 states: 10%, 60% 100% For example, if I had 100 source files, each complete source file build would increment the compile step by 1%. Interestingly, I just saw the tooltip for the progress bar and it says 'Finished 3 of 2 build steps, hopefully that's just an order of parameters bug. Thanks! Alan ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Build progress bar usefulness
Hi, On Wed, Jul 14, 2010 at 9:14 PM, alan.westbr...@nokia.com wrote: For example, if I had 100 source files, each complete source file build would increment the compile step by 1%. Did you try to compile something more complicate? E.g. for me - WebKit files might be compiled in 10 minutes, and 20 minutes more will take linking. Anyway, on the 2nd build, when you will change just 1 file - there will be just 2 actions: 1) Compile the changed file 2) Link That's all. -- Best Regards, Denis Mingulov ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Build progress bar usefulness
Looks like line 67 in BuildManager.cpp is responsible for the tooltip bug. I switched the arg order, we'll see what happens (I don't actually know how the tr() macro/method works). I noticed that in the translation files, the order is also often reversed. Hmmm. share/qtcreator/translations/qtcreator_cs.ts:sourceFinished %n of %1 build steps/source share/qtcreator/translations/qtcreator_de.ts:sourceFinished %1 of %n build steps/source share/qtcreator/translations/qtcreator_es.ts:sourceFinished %n of %1 build steps/source share/qtcreator/translations/qtcreator_fr.ts:sourceFinished %n of %1 build steps/source share/qtcreator/translations/qtcreator_fr.ts:sourceFinished %1 of %n build steps/source etc. curious Alan On Jul 14, 2010, at 11:14 AM, ext alan.westbr...@nokia.com wrote: Hi! I was wondering if there were any plans to make the build progress bar more useful, at the moment, it seems to have 3 states: 10%, 60% 100% For example, if I had 100 source files, each complete source file build would increment the compile step by 1%. Interestingly, I just saw the tooltip for the progress bar and it says 'Finished 3 of 2 build steps, hopefully that's just an order of parameters bug. Thanks! Alan ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Build progress bar usefulness
On Jul 14, 2010, at 2:56 PM, Andre Poenitz wrote: and running make -n is definitely not free, either. This can be a lengthy process, you mean? The good news is that it only needs to be run after each run of qmake. If qmake doesn't do anything or need to be run, this can be skipped, because the Makefile (in a typical Qt project) didn't change. (Or you could just cache the last modified date of the Makefile.) Nathan ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] Using shadow builds when building from the command-line
Now that Qt Creator enables shadow builds by default I've got used to them and prefer it to cluttering up my source folders with object files, etc. However, I often want to build from the command-line, but can't figure out how to make shadow builds work. My command-line build script is pretty simple: qmake -r mingw32-make release How can I force shadow builds? Is a qmake switch required? Thanks in advance. P.S. Apologies that this isn't strictly a Qt Creator specific question but I thought others may find any answers useful. ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Build progress bar usefulness
On Wed, Jul 14, 2010 at 03:02:58PM -0400, Carter, Nathan wrote: On Jul 14, 2010, at 2:56 PM, Andre Poenitz wrote: and running make -n is definitely not free, either. This can be a lengthy process, you mean? The good news is that it only needs to be run after each run of qmake. Is it? .../src/plugins/fakevim qmake .../src/plugins/fakevim make -n make: Nothing to be done for `first'. Maybe you are aiming at make -B -n: .../creator time make -B -n | wc -l [...] 2954 real0m50.815s user0m24.330s sys 0m2.704s Ok. It's an old machine. Still, I am not sure I am willing to pay 50s here. For Qt itself the process takes 3:20 minutes. Moreover, it fails for less straighforward project setups. In a autotools based project this e.g. triggers a full reconfiguration of the project. Andre' ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Using shadow builds when building from the command-line
On Wed, Jul 14, 2010 at 09:03:58PM +0100, Robert Caldecott wrote: Now that Qt Creator enables shadow builds by default I've got used to them and prefer it to cluttering up my source folders with object files, etc. However, I often want to build from the command-line, but can't figure out how to make shadow builds work. My command-line build script is pretty simple: qmake -r mingw32-make release How can I force shadow builds? Is a qmake switch required? Assuming $src is the directory containing your sources include the top-level *.pro file: cd $src mkdir ../build cd ../build qmake -r $src mingw32-make release Andre' ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Build progress bar usefulness
On Jul 14, 2010, at 4:12 PM, Andre Poenitz wrote: On Wed, Jul 14, 2010 at 03:02:58PM -0400, Carter, Nathan wrote: On Jul 14, 2010, at 2:56 PM, Andre Poenitz wrote: and running make -n is definitely not free, either. This can be a lengthy process, you mean? The good news is that it only needs to be run after each run of qmake. Is it? .../src/plugins/fakevim qmake .../src/plugins/fakevim make -n make: Nothing to be done for `first'. Didn't make -n give the right answer here? Just running qmake doesn't mean that make is going to have anything to do. Maybe you are aiming at make -B -n: No way! I'm aiming to ask make what it will do on the next run, so that Creator knows how many build steps *it* will expect make to do when Creator runs make. I'm definitely not asking what make would do to unconditionally make all targets (man make, /-B). Nathan ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Build progress bar usefulness
On Wed, Jul 14, 2010 at 04:23:11PM -0400, Carter, Nathan wrote: On Jul 14, 2010, at 4:12 PM, Andre Poenitz wrote: On Wed, Jul 14, 2010 at 03:02:58PM -0400, Carter, Nathan wrote: On Jul 14, 2010, at 2:56 PM, Andre Poenitz wrote: and running make -n is definitely not free, either. This can be a lengthy process, you mean? The good news is that it only needs to be run after each run of qmake. Is it? .../src/plugins/fakevim qmake .../src/plugins/fakevim make -n make: Nothing to be done for `first'. Didn't make -n give the right answer here? Just running qmake doesn't mean that make is going to have anything to do. But next time a source file changes 'make' _will_ have something to do, even if no qmake run is needed. Re-using the empty result of the 'make -n' run after the last qmake run does not solve the problem. Maybe you are aiming at make -B -n: No way! I'm aiming to ask make what it will do on the next run, so that Creator knows how many build steps *it* will expect make to do when Creator runs make. So running 'make -n' before each proper 'make', i.e. spending 50 more seconds when building e.g. Creator, is needed after all? This seem to contradict your earlier statement The good news is that it only needs to be run after each run of qmake. Andre' ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Using shadow builds when building from the command-line
Perfect! Easier than I thought. Thanks Andre. On 14 July 2010 21:20, Andre Poenitz andre.poen...@mathematik.tu-chemnitz.de wrote: On Wed, Jul 14, 2010 at 09:03:58PM +0100, Robert Caldecott wrote: Now that Qt Creator enables shadow builds by default I've got used to them and prefer it to cluttering up my source folders with object files, etc. However, I often want to build from the command-line, but can't figure out how to make shadow builds work. My command-line build script is pretty simple: qmake -r mingw32-make release How can I force shadow builds? Is a qmake switch required? Assuming $src is the directory containing your sources include the top-level *.pro file: cd $src mkdir ../build cd ../build qmake -r $src mingw32-make release Andre' ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] Qt Creator 2.1 Binary Shapshots not available for Windows
http://get.qt.nokia.com/qtcreator/snapshots/latest/ only for Linux and Mac, no Windows pakage :( ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Qt Creator 2.1 Binary Shapshots not available for Windows
Hehe now you know what it feels like :P On 14 Jul 2010, at 23:25, Litkevich Yuriy wrote: http://get.qt.nokia.com/qtcreator/snapshots/latest/ only for Linux and Mac, no Windows pakage :( ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Build progress bar usefulness
So running 'make -n' before each proper 'make', i.e. spending 50 more seconds when building e.g. Creator, is needed after all? No, we don't actually know whether it takes 50 seconds without the -B switch. Does it? It will if you've just done a fresh checkout, a make clean, or used the rebuild command. /s/ Adam ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Build progress bar usefulness
So running 'make -n' before each proper 'make', i.e. spending 50 more seconds when building e.g. Creator, is needed after all? No, we don't actually know whether it takes 50 seconds without the -B switch. Does it? It will if you've just done a fresh checkout, a make clean, or used the rebuild command. Frankly, if a huge project like Creator takes only 50 seconds on an old machine to do make -B -n, then I'd say for most projects (smaller than Creator) on most machines (newer than André said his is) in most circumstances (not full rebuilds), the time will be worth it. Of course, you can always make the feature user-toggleable. I, for one, would like to see it, as would the OP. Nathan ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Build progress bar usefulness
Qt itself takes over 3 minutes on that same machine, though. There may be a simpler way to guess at it, at least as a heuristic... /s/ Adam On Wed, Jul 14, 2010 at 8:37 PM, Carter, Nathan ncar...@bentley.edu wrote: So running 'make -n' before each proper 'make', i.e. spending 50 more seconds when building e.g. Creator, is needed after all? No, we don't actually know whether it takes 50 seconds without the -B switch. Does it? It will if you've just done a fresh checkout, a make clean, or used the rebuild command. Frankly, if a huge project like Creator takes only 50 seconds on an old machine to do make -B -n, then I'd say for most projects (smaller than Creator) on most machines (newer than André said his is) in most circumstances (not full rebuilds), the time will be worth it. Of course, you can always make the feature user-toggleable. I, for one, would like to see it, as would the OP. Nathan ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] documentation for qt-creator plugin development
Hi all, I am a newbie for qt-creator. I need to create a qt-creator plug-in in my project. But, I find few stuff/documentation about qt-creator plugin development. where can I get the documentation for qt-creator plugin development. thanks dwh ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator