[Qt-creator] same project multi installations in Qt Creator

ekke ekke at ekkes-corner.org
Tue Oct 11 08:20:55 CEST 2016


Am 11.10.16 um 08:16 schrieb Eike Ziller:
>> On Oct 10, 2016, at 19:22, ekke <ekke at ekkes-corner.org> wrote:
>>
>> Hi,
>>
>> I'm having some problems with iOS Release Build of Qt World Summit Conference App (see interest list)
>>
>> 	• Qt 5.7
>> 	• QtC 4.1.0
>> 	• Xcode 8
>> 	• iOS 10
>> Debug Build went fine - app is running on iPhone and iPad from Qt Creator
>>
>> Release Build fails - but only for this project - other projects run perfect as debug and as release.
> Fails to build? Or fails to run from Qt Creator?
fails to build:

|=== BUILD AGGREGATE TARGET Qt Preprocess OF PROJECT c2gQtWS_x WITH
CONFIGURATION Release === Check dependencies Write auxiliary files
write-file
/daten/_qt_workspaces/work_570/build-c2gQtWS_x-iphoneos_clang_Qt_5_7_0_ios-Release/c2gQtWS_x.build/Release-iphoneos/Qt\
Preprocess.build/Script-7EF0942E79C014DCEC8976BC.sh chmod 0755
/daten/_qt_workspaces/work_570/build-c2gQtWS_x-iphoneos_clang_Qt_5_7_0_ios-Release/c2gQtWS_x.build/Release-iphoneos/Qt\
Preprocess.build/Script-7EF0942E79C014DCEC8976BC.sh write-file
/daten/_qt_workspaces/work_570/build-c2gQtWS_x-iphoneos_clang_Qt_5_7_0_ios-Release/c2gQtWS_x.build/Release-iphoneos/Qt\
Preprocess.build/Script-5E618435888B9D49F8540165.sh chmod 0755
/daten/_qt_workspaces/work_570/build-c2gQtWS_x-iphoneos_clang_Qt_5_7_0_ios-Release/c2gQtWS_x.build/Release-iphoneos/Qt\
Preprocess.build/Script-5E618435888B9D49F8540165.sh PhaseScriptExecution
Qt\ Qmake c2gQtWS_x.build/Release-iphoneos/Qt\
Preprocess.build/Script-5E618435888B9D49F8540165.sh cd
/daten/_qt_workspaces/work_570/build-c2gQtWS_x-iphoneos_clang_Qt_5_7_0_ios-Release
/bin/sh -c
\"/daten/_qt_workspaces/work_570/build-c2gQtWS_x-iphoneos_clang_Qt_5_7_0_ios-Release/c2gQtWS_x.build/Release-iphoneos/Qt\
Preprocess.build/Script-5E618435888B9D49F8540165.sh\" make[1]:
`c2gQtWS_x.xcodeproj/project.pbxproj' is up to date.
PhaseScriptExecution Qt\ Preprocessors
c2gQtWS_x.build/Release-iphoneos/Qt\
Preprocess.build/Script-7EF0942E79C014DCEC8976BC.sh cd
/daten/_qt_workspaces/work_570/build-c2gQtWS_x-iphoneos_clang_Qt_5_7_0_ios-Release
/bin/sh -c
\"/daten/_qt_workspaces/work_570/build-c2gQtWS_x-iphoneos_clang_Qt_5_7_0_ios-Release/c2gQtWS_x.build/Release-iphoneos/Qt\
Preprocess.build/Script-7EF0942E79C014DCEC8976BC.sh\"
/daten/_qt_sdks/sdk_570/5.7/ios/bin/rcc -name translations
../c2gQtWS_x/translations.qrc -o qrc_translations.cpp
/daten/_qt_sdks/sdk_570/5.7/ios/bin/rcc -name images
../c2gQtWS_x/images.qrc -o qrc_images.cpp
/daten/_qt_sdks/sdk_570/5.7/ios/bin/rcc -name data-assets
../c2gQtWS_x/data-assets.qrc -o qrc_data-assets.cpp
/daten/_qt_sdks/sdk_570/5.7/ios/bin/qtquickcompiler
--resource=/daten/_qt_workspaces/work_570/c2gQtWS_x/qml.qrc
../c2gQtWS_x/qml/main.qml .qtquickcompiler/qml_main_qml.cpp ASSERT:
"endptr - target.data() <= length - eSign -1" in file
../../corelib/tools/qlocale_tools.cpp, line 227 make[1]: ***
[.qtquickcompiler/qml_main_qml.cpp] Abort trap: 6 Command /bin/sh failed
with exit code 2 ** BUILD FAILED **|

only happens with release build, not with debug build
>
>> also posted this at Qt Forums and another dev cloned my Github repo and app is running in Release Build , but he's using Xcode 7.3
>>
>> --
>>
>> now I want to clone my app to see if it will work in a fresh project
>>
>> so my question:
>>
>> if cloning the App to a different location as the current one - will this be Ok for Qt Creator ?
> Yes, as long as you do not copy the .pro.user file (which is the one containing the configuration for Qt Creator).
good to know - thx for the info - wasn't sure if it will work with multi
projects using .pro with same name and content

ekke
>
> Br, Eike
>
>> .pro filename is the same, but different location.
>>
>> want to avoid any mix of config ;-)
>> thx
>> ekke
>> _______________________________________________
>> Qt-creator mailing list
>> Qt-creator at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/qt-creator


-- 

ekke (ekkehard gentz)

independent software architect
international development native mobile business apps
BlackBerry 10 | Qt Mobile (Android, iOS)
workshops - trainings - bootcamps

*BlackBerry Elite Developer
BlackBerry Platinum Enterprise Partner*

max-josefs-platz 30, D-83022 rosenheim, germany
mailto:ekke at ekkes-corner.org
blog: http://ekkes-corner.org
apps and more: http://appbus.org

twitter: @ekkescorner
skype: ekkes-corner
LinkedIn: http://linkedin.com/in/ekkehard/
Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20161011/9e7f7d65/attachment.html>


More information about the Qt-creator mailing list