Author Topic: can not compile headless on osx  (Read 5586 times)

GereeNice

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: can not compile headless on osx
« Reply #30 on: April 10, 2014, 03:21:32 pm »
That's a bundle not a single file, but the main content is just like the one I sent you the screenshot of earlier. Made and attached a new with:

Quote
qmake -makefile -macx -o Makefile "CONFIG += release nox" "CONFIG -= app_bundle debug"  qbittorrent.pro

sledgehammer_999

  • qBittorrent maintainer
  • Administrator
  • Forum addict
  • *****
  • Posts: 2406
  • Karma: +150/-2
    • View Profile
Re: can not compile headless on osx
« Reply #31 on: April 10, 2014, 03:24:06 pm »
I need to think. I am out of ideas now.

sledgehammer_999

  • qBittorrent maintainer
  • Administrator
  • Forum addict
  • *****
  • Posts: 2406
  • Karma: +150/-2
    • View Profile
Re: can not compile headless on osx
« Reply #32 on: April 10, 2014, 03:27:28 pm »
I found something in stackoverflow.com:
Code: [Select]
qmake -makefile -macx -spec macx-g++ -o Makefile "CONFIG += release nox" "CONFIG -= app_bundle debug"  qbittorrent.pro

GereeNice

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: can not compile headless on osx
« Reply #33 on: April 10, 2014, 03:39:53 pm »
Forgot about the main.cpp fix for a moment, but finally it compiled (properly)! :D Had a small notice, but it's all good :)
Quote
-macx is deprecated.

Great Success!


GereeNice

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: can not compile headless on osx
« Reply #34 on: April 10, 2014, 03:44:34 pm »
Can I have an off-topic question? Only if we are through the compilation issues, of course. I can't seem to find an option for sequential downloads in headless, while I think it's in the gui. Is it hidden somewhere or missing? Should I open a new thread for this request or can you post me _any kind_ of dirty fix (source mod, etc)? I'd need the client to script/automate downloads and having them in preview mode would be pretty much the base of it.

sledgehammer_999

  • qBittorrent maintainer
  • Administrator
  • Forum addict
  • *****
  • Posts: 2406
  • Karma: +150/-2
    • View Profile
Re: can not compile headless on osx
« Reply #35 on: April 10, 2014, 04:05:12 pm »
Great!

To tell you the truth I haven't used the nox build at all. Probably this isn't exposed since you can't find it. Also the webui doesn't have this option too.
I may implement it for 3.2.x, if I remember it. Unfortunately I cannot give quick/dirty source fix.

Thanks for the help. I think we solved all the problems now.

GereeNice

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: can not compile headless on osx
« Reply #36 on: April 10, 2014, 04:15:51 pm »
I would really appreciate it, thank you.

Message me in case you need something tested on osx, I'll try to be of assistance.

sledgehammer_999

  • qBittorrent maintainer
  • Administrator
  • Forum addict
  • *****
  • Posts: 2406
  • Karma: +150/-2
    • View Profile
Re: can not compile headless on osx
« Reply #37 on: April 10, 2014, 04:18:00 pm »
Message me in case you need something tested on osx, I'll try to be of assistance.

OK. Thanks.