Re: [Qt-creator] Build issues under OSX10.5

2010-07-06 Thread André Pönitz
On Tuesday 06 July 2010 10:36:16 ext Aurélien Vallée wrote:
 I already tried all these steps.
 Using Qt creator does not change anything, it just basically call qmake/make 
 or qmake/xcodebuild.
 
 Here is what I'm doing:
 
 ### Using g++
 git clone QTCREATORGITURL
 cd qt-creator
 mkdir build; cd build

Create a build directory _in parallel_ to the source tree. I.e.

cd qt-creator
mkdir ../build ; cd ../build

 qmake ..\qt-creator.prohttp://qt-creator.pro -recursive -spec macx-g++

Backslashs seem wrong, too:

 qmake -r ../qt-creator/qt-creator.pro

Andre'

PS: Not being able to build in a subdirectory of the source tree is a qmake 
problem that can be worked around by applying the patch at
http://creator.pastebin.com/d72U2z9e to your Qt sources:


--- snip 
diff --git a/mkspecs/features/resources.prf b/mkspecs/features/resources.prf
index a305a4f..0003a7c 100644
--- a/mkspecs/features/resources.prf
+++ b/mkspecs/features/resources.prf
@@ -20,8 +20,9 @@ resource_combine {
QMAKE_RESOURCE_FLAGS += -name ${QMAKE_FILE_BASE}
 }
 }
-rcc.commands = $$QMAKE_RCC $$QMAKE_RESOURCE_FLAGS ${QMAKE_FILE_IN} -o 
${QMAKE_FILE_OUT}
-rcc.depend_command = $$QMAKE_RCC -list $$QMAKE_RESOURCE_FLAGS 
${QMAKE_FILE_IN}
+rcc.commands = cd $$OUT_PWD  $$QMAKE_RCC $$QMAKE_RESOURCE_FLAGS 
${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
+rcc.depend_command = cd $$OUT_PWD  $$QMAKE_RCC -list 
$$QMAKE_RESOURCE_FLAGS ${QMAKE_FILE_IN}
+
 rcc.input = RESOURCES
 rcc.variable_out = SOURCES
 rcc.name = RCC ${QMAKE_FILE_IN}
--- snip 

___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Minor file deletion bug

2010-07-06 Thread Daniel Teske
On Monday 05 July 2010 19:02:09 ext Charles N Burns wrote:
 In Qt Creator 2.0.0, when I delete a file from within Qt Creator with
 {r-click -- Remove file}, then check the box for permanent file
 deletion, Qt Creator shows a dialog box which says: The file file
 path has been removed outside of Qt Creator. Do you want to save it
 under a different name, or close the editor?
Please create a bug report for that, that makes it easier to not loose it.

 I see the same thing when I svn revert a file from within QtCreator;
 it claims to have been modified outside.
Also for that.

Thanks for the reports.

daniel
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Build issues under OSX10.5

2010-07-06 Thread Victor Sardina
Aurélien:

Both André and Eike explained it very well. The main issue you have, I
believe, have to do with the parallel build directory. That bit me
once, and because of that I decided to send my email about it (it gets
increasingly frustrating when in fact the problem has a very simple
solution). If you apply the recommended steps you get the following flow:

 git clone git://gitorious.org/qt-creator/qt-creator.git
 mkdir build; cd build
 qmake ../qt-creator/qt-creator.pro
 make

Do not create your build directory inside the qt-creator source
directory, but parallel to it. And again, you need Qt-4.7.0 to build
QtCreator. That should provide you with the Qt Creator.app application
bundle under the build/bin directory. I have never had any trouble
building that way, either under Mac 10.5 or 10.6.

Good luck,
Victor

PS:

Eike:
You guys keep spoiling us.Using QtCreator to build QtCreator itself
actually turns into the easiest way to do it yet...:-)



On 7/5/10 11:07 PM, André Pönitz wrote:
 On Tuesday 06 July 2010 10:36:16 ext Aurélien Vallée wrote:
 I already tried all these steps.
 Using Qt creator does not change anything, it just basically call qmake/make 
 or qmake/xcodebuild.

 Here is what I'm doing:

 ### Using g++
 git clone QTCREATORGITURL
 cd qt-creator
 mkdir build; cd build
 
 Create a build directory _in parallel_ to the source tree. I.e.
 
 cd qt-creator
 mkdir ../build ; cd ../build
 
 qmake ..\qt-creator.prohttp://qt-creator.pro -recursive -spec macx-g++
 
 Backslashs seem wrong, too:
 
  qmake -r ../qt-creator/qt-creator.pro
 
 Andre'
 
 PS: Not being able to build in a subdirectory of the source tree is a qmake 
 problem that can be worked around by applying the patch at
 http://creator.pastebin.com/d72U2z9e to your Qt sources:
 
 
 --- snip 
 diff --git a/mkspecs/features/resources.prf b/mkspecs/features/resources.prf
 index a305a4f..0003a7c 100644
 --- a/mkspecs/features/resources.prf
 +++ b/mkspecs/features/resources.prf
 @@ -20,8 +20,9 @@ resource_combine {
 QMAKE_RESOURCE_FLAGS += -name ${QMAKE_FILE_BASE}
  }
  }
 -rcc.commands = $$QMAKE_RCC $$QMAKE_RESOURCE_FLAGS ${QMAKE_FILE_IN} -o 
 ${QMAKE_FILE_OUT}
 -rcc.depend_command = $$QMAKE_RCC -list $$QMAKE_RESOURCE_FLAGS 
 ${QMAKE_FILE_IN}
 +rcc.commands = cd $$OUT_PWD  $$QMAKE_RCC $$QMAKE_RESOURCE_FLAGS 
 ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
 +rcc.depend_command = cd $$OUT_PWD  $$QMAKE_RCC -list 
 $$QMAKE_RESOURCE_FLAGS ${QMAKE_FILE_IN}
 +
  rcc.input = RESOURCES
  rcc.variable_out = SOURCES
  rcc.name = RCC ${QMAKE_FILE_IN}
 --- snip 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 

attachment: victor_sardina.vcf___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Build issues under OSX10.5

2010-07-06 Thread Victor Sardina
Aurélien:

I forgot to add that you need to check out the 2.0 branch (I used that
branch last time I built it about a week ago). That applies if nothing
has changed since the last time I asked, but maybe one of the Trolls can
correct me if I err on this one...

Victor


On 7/6/10 12:52 AM, Victor Sardina wrote:
 Aurélien:
 
 Both André and Eike explained it very well. The main issue you have, I
 believe, have to do with the parallel build directory. That bit me
 once, and because of that I decided to send my email about it (it gets
 increasingly frustrating when in fact the problem has a very simple
 solution). If you apply the recommended steps you get the following flow:
 
 git clone git://gitorious.org/qt-creator/qt-creator.git
 mkdir build; cd build
 qmake ../qt-creator/qt-creator.pro
 make
 
 Do not create your build directory inside the qt-creator source
 directory, but parallel to it. And again, you need Qt-4.7.0 to build
 QtCreator. That should provide you with the Qt Creator.app application
 bundle under the build/bin directory. I have never had any trouble
 building that way, either under Mac 10.5 or 10.6.
 
 Good luck,
 Victor
 
 PS:
 
 Eike:
 You guys keep spoiling us.Using QtCreator to build QtCreator itself
 actually turns into the easiest way to do it yet...:-)
 
 
 
 On 7/5/10 11:07 PM, André Pönitz wrote:
 On Tuesday 06 July 2010 10:36:16 ext Aurélien Vallée wrote:
 I already tried all these steps.
 Using Qt creator does not change anything, it just basically call 
 qmake/make or qmake/xcodebuild.

 Here is what I'm doing:

 ### Using g++
 git clone QTCREATORGITURL
 cd qt-creator
 mkdir build; cd build

 Create a build directory _in parallel_ to the source tree. I.e.

 cd qt-creator
 mkdir ../build ; cd ../build

 qmake ..\qt-creator.prohttp://qt-creator.pro -recursive -spec macx-g++

 Backslashs seem wrong, too:

  qmake -r ../qt-creator/qt-creator.pro

 Andre'

 PS: Not being able to build in a subdirectory of the source tree is a qmake 
 problem that can be worked around by applying the patch at
 http://creator.pastebin.com/d72U2z9e to your Qt sources:


 --- snip 
 diff --git a/mkspecs/features/resources.prf b/mkspecs/features/resources.prf
 index a305a4f..0003a7c 100644
 --- a/mkspecs/features/resources.prf
 +++ b/mkspecs/features/resources.prf
 @@ -20,8 +20,9 @@ resource_combine {
 QMAKE_RESOURCE_FLAGS += -name ${QMAKE_FILE_BASE}
  }
  }
 -rcc.commands = $$QMAKE_RCC $$QMAKE_RESOURCE_FLAGS ${QMAKE_FILE_IN} -o 
 ${QMAKE_FILE_OUT}
 -rcc.depend_command = $$QMAKE_RCC -list $$QMAKE_RESOURCE_FLAGS 
 ${QMAKE_FILE_IN}
 +rcc.commands = cd $$OUT_PWD  $$QMAKE_RCC $$QMAKE_RESOURCE_FLAGS 
 ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
 +rcc.depend_command = cd $$OUT_PWD  $$QMAKE_RCC -list 
 $$QMAKE_RESOURCE_FLAGS ${QMAKE_FILE_IN}
 +
  rcc.input = RESOURCES
  rcc.variable_out = SOURCES
  rcc.name = RCC ${QMAKE_FILE_IN}
 --- snip 

 ___
 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

attachment: victor_sardina.vcf___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


[Qt-creator] Qt Mobile Application

2010-07-06 Thread dhk
Is there a good reference on making a simple Qt mobile application?  It
should be very basic.  In addition, documentation on how to upload an
application to the device is needed.

Thanks,

--dhk
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Qt Mobile Application

2010-07-06 Thread Coda Highland
Please direct your question to the qt-interest mailing list as this
list is for Qt Creator questions in specific.

Thank you,
/s/ Adam

On Tue, Jul 6, 2010 at 6:24 AM, dhk dhk...@optonline.net wrote:
 Is there a good reference on making a simple Qt mobile application?  It
 should be very basic.  In addition, documentation on how to upload an
 application to the device is needed.

 Thanks,

 --dhk
 ___
 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] Qt Mobile Application

2010-07-06 Thread Daniel Molkentin

 Hi,

On 7/6/2010 1:24 PM, ext dhk wrote:

Is there a good reference on making a simple Qt mobile application?  It
should be very basic.


http://doc.qt.nokia.com/qtcreator-2.0/creator-mobile-example.html
(Part of your Qt Creator help and even linked from the welcome screen)

   In addition, documentation on how to upload an
application to the device is needed.
See the subsection: Testing on a device. It should all just work. 
Noteworthy exceptions are Symbian devices with the remote compiler. But 
that's still fairly simple: The remote compiler dumps the sis package in 
a directory and opens your default file manager there. Now drop the file 
onto the mess storage device and on the device, open it with the file 
browser.


Additional recommended read: http://doc.qt.nokia.com/nokia-qtsdk-1.0/ 
http://doc.qt.nokia.com/nokia-qtsdk-1.0/index.html(This are also 
prominently linked as part of the Nokia Qt SDK). Did you really install 
the Nokia Qt SDK?



Cheers,
  Daniel

--
Daniel Molkentin, Software Engineer,
Nokia, Qt Development Frameworks
website: http://qt.nokia.com
Rudower Chaussee 13, DE-12489 Berlin

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori

___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Qt Mobile Application

2010-07-06 Thread dhk
On 07/06/2010 07:48 AM, Daniel Molkentin wrote:
  Hi,
 
 On 7/6/2010 1:24 PM, ext dhk wrote:
 Is there a good reference on making a simple Qt mobile application?  It
 should be very basic.
 
 http://doc.qt.nokia.com/qtcreator-2.0/creator-mobile-example.html
 (Part of your Qt Creator help and even linked from the welcome screen)
In addition, documentation on how to upload an
 application to the device is needed.
 See the subsection: Testing on a device. It should all just work.
 Noteworthy exceptions are Symbian devices with the remote compiler. But
 that's still fairly simple: The remote compiler dumps the sis package in
 a directory and opens your default file manager there. Now drop the file
 onto the mess storage device and on the device, open it with the file
 browser.
 
 Additional recommended read: http://doc.qt.nokia.com/nokia-qtsdk-1.0/
 http://doc.qt.nokia.com/nokia-qtsdk-1.0/index.html(This are also
 prominently linked as part of the Nokia Qt SDK). Did you really install
 the Nokia Qt SDK?
 
 
 Cheers,
   Daniel
 
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator

This looks good, but I can't find the part that says Mobile Qt
Application.

These are my menu options I'm suppose to follow according to the
documentation; my comments are in ()'s.
  File
 New File or Project
   Qt Application Project (many options, chose Qt4 Gui Application)
  Mobile Qt Application (Not an option in the list)

I'm using the following:
  Qt Creator 1.3.1
  Based on Qt 4.6.2 (64 bit)
  Built on Jul 4 2010 at 13:26:59

Do I need additional plugins/libraries/software?  I'm not sure if the
Nokia Qt SDK has anything to do with it or if it needs to be installed
separately.


Thanks,

--dhk

___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Qt Mobile Application

2010-07-06 Thread Daniel Molkentin

  Hi,

On 7/6/2010 2:29 PM, ext dhk wrote:

 I'm using the following:
Qt Creator 1.3.1
Based on Qt 4.6.2 (64 bit)
Built on Jul 4 2010 at 13:26:59

 Do I need additional plugins/libraries/software?  I'm not sure if the
 Nokia Qt SDK has anything to do with it or if it needs to be installed
 separately.


Well, first of all, we released Qt Creator 2.0 recently, which is 
optimized for mobile development. If you want Qt Creator all require 
libs in an easy-to-use package (strongly recommended unless you know 
what you are doing), download the Nokia Qt SDK from 
http://www.forum.nokia.com/info/sw.nokia.com/id/e920da1a-5b18-42df-82c3-907413e525fb/Nokia_Qt_SDK.html.

Cheers,
   Daniel

-- 
Daniel Molkentin, Software Engineer,
Nokia, Qt Development Frameworks
website: http://qt.nokia.com
Rudower Chaussee 13, DE-12489 Berlin

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori

___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Plugin to display compile errors war nings etc. inline

2010-07-06 Thread Daniel Teske
After reviewing our code in BuildManager and TaskWindow, I did the refactoring 
that was overdue of getting the actual task distribution out of the 
BuildManager and made the TaskWindow a internal class. 

I introduced a *TaskHub* which essentially emits all the task related signals 
the buildmanager had, and also the new signals you need. 

daniel
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


[Qt-creator] Snapshots for master

2010-07-06 Thread Bryce Schober
I really wish that binary snapshots were available on a per-branch basis.
Currently, it appears that there are no snapshots for master. It seems to me
that the barrier to getting good beta testing by us folks could be lower if
snapshots were readily available on every release branch, including master.
Heck, that way we could actually verify that the bugs we report are actually
fixed.

-- 
Bryce Schober
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Qt Mobile Application

2010-07-06 Thread dhk
On 07/06/2010 08:33 AM, Daniel Molkentin wrote:
 
  Hi,
 
 On 7/6/2010 2:29 PM, ext dhk wrote:

 I'm using the following:
Qt Creator 1.3.1
Based on Qt 4.6.2 (64 bit)
Built on Jul 4 2010 at 13:26:59

 Do I need additional plugins/libraries/software?  I'm not sure if the
 Nokia Qt SDK has anything to do with it or if it needs to be installed
 separately.

 
 Well, first of all, we released Qt Creator 2.0 recently, which is
 optimized for mobile development. If you want Qt Creator all require
 libs in an easy-to-use package (strongly recommended unless you know
 what you are doing), download the Nokia Qt SDK from
 http://www.forum.nokia.com/info/sw.nokia.com/id/e920da1a-5b18-42df-82c3-907413e525fb/Nokia_Qt_SDK.html.
 
 
 Cheers,
   Daniel
 

Thanks, I'll give that a try.  The Gentoo portage tree still has 1.3.1.

___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator