#21  
Old 09-29-2011, 07:33 PM
nicolai's Avatar
nicolai nicolai is offline
Senior Member
 
Join Date: Feb 2010
Posts: 124
Thanked: 134 times
Default Re: Qt Creator --> OBS workflow (Harmattan/deb)

Ahm, no. Creating a new project?
The problem is, any project does not include the .desktop and icon files
in the generated source package.
I can create a project, and this project can be deployed to the
device with all icon and .desktop files. (from the IDE).
But I don't know how to generate a source package which can be used
for the community OBS.
Reply With Quote
  #22  
Old 10-23-2011, 05:24 PM
smurfy smurfy is offline
Junior Member
 
Join Date: Feb 2010
Posts: 5
Thanked: 4 times
Default Re: Qt Creator --> OBS workflow (Harmattan/deb)

I'm having problems building my app. getting errors with clean in the rules.

Quote:
dpkg-buildpackage: host architecture armel
 fakeroot-tcp debian/rules clean
make: 
: No such file or directory
make: *** No rule to make target `
'.  Stop.
dpkg-buildpackage: error: fakeroot-tcp debian/rules clean gave error exit status 2
Building in qt creator and scratchbox works.
What could be the problem?
Reply With Quote
  #23  
Old 10-23-2011, 06:11 PM
aenbacka aenbacka is offline
Member
 
Join Date: Jan 2011
Posts: 57
Thanked: 44 times
Default Re: Qt Creator --> OBS workflow (Harmattan/deb)

Quote:
Originally Posted by smurfy View Post
I'm having problems building my app. getting errors with clean in the rules.



Building in qt creator and scratchbox works.
What could be the problem?
I have exactly the same problem with a library; I get the same error message in OBS, but it builds ok in scratchbox. Would be interested to hear in case anyone has a solution for this?
Reply With Quote
  #24  
Old 10-24-2011, 08:29 PM
smurfy smurfy is offline
Junior Member
 
Join Date: Feb 2010
Posts: 5
Thanked: 4 times
Default Re: Qt Creator --> OBS workflow (Harmattan/deb)

found the problem, its the line endings. converted from windows to linux endings and its builds as we speak.
Reply With Quote

The Following User Says Thank You to smurfy For This Useful Post:
  #25  
Old 10-25-2011, 05:20 AM
aenbacka aenbacka is offline
Member
 
Join Date: Jan 2011
Posts: 57
Thanked: 44 times
Default Re: Qt Creator --> OBS workflow (Harmattan/deb)

Quote:
Originally Posted by smurfy View Post
found the problem, its the line endings. converted from windows to linux endings and its builds as we speak.
Thanks a lot for the solution, have been trying to figure what could cause the problem for a long time! Now it worked without any problems.
Reply With Quote
  #26  
Old 06-05-2012, 08:21 PM
zogg zogg is offline
Member
 
Join Date: Jul 2010
Posts: 38
Thanked: 12 times
Default Re: Qt Creator --> OBS workflow (Harmattan/deb)

it's nightmare. I did successfully created dsc and tar files but:
It wouldn't build in OBS as i was told because of
$(MAKE) INSTALL_ROOT="$(CURDIR)"/debian/imgrup install
where it needs to be
$(MAKE) INSTALL_ROOT="/usr/src/packages/BUILD"/debian/imgrup install
what s not default by QtCreator and wouldn't build (i'll try to make this dir localy and give to my user permissions now and report later)

As well if i comment $(MAKE) clean it would leave .o files in tar.gz and if i uncomment back there would be no src files at all there.

And there are a lot of problems i met while trying, still no success. It might be possible, but for new developer who just learning and especially want to use QtCreator that is not an option as well as installing scratchbox just to built for OBS, than what si the point in «user-friendly» QtCreator?

I think either the way OBS compiles should be changed (maybe automatic way to change from QtCreator files if needed editing them before compiling and packaging) or plugin on QtCreator side should be done to integrate those things out-of-the-box, it's the main idea of QtCreator, isn't it? Otherwise we all could just use VIM =)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Differences Harmattan API - Meego 1.2 Harmattan API nicolai Application Developer Support 3 07-15-2011 06:20 PM
Qt Creator + QEMU svlasov Application Developer Support 5 07-07-2011 09:14 AM
MeeGo: data acquisition, graphing, workflow modeling, etc texrat General 4 02-11-2011 04:25 AM
Qt Creator is not there in MeeGo jerrywyx Handset 2 11-26-2010 05:31 AM
Localization workflow ksanteramo Community Matters 16 05-10-2010 12:41 PM


All times are GMT. The time now is 12:08 PM.