Menu

working with Qtopia 4.3.2

Ramon Liu
2007-10-09
2012-09-26
  • Ramon Liu

    Ramon Liu - 2007-10-09

    Hi There! ^^
    I has install Dev-C++ and Qtopia, and my Qt project well complier success.
    but, I have one question, does have any way to do this?
    in my case, before compiler Qt project, I must run "qmake" first, let it create
    Makefile, and next step, use this Makefile to compiler, Now, I add tool shortcut to do this.
    can I add this action into compiler?
    I'm try to use "Add the following commands when calling compiler",
    contents is "qmake <PROJECTNAME>.pro"
    but not work, have any idea? @@?

    thxs for ur help.

     
    • Osito

      Osito - 2007-10-09

      I think "Add the following commands when calling compiler" is for passing command-line parameters not running external programs.

      I'm not sure how to do what you're looking for in Dev. You can customize your makefile to execute an external program first by using "Include the following files into the makefile" option, but you can't do that and also override the generated makefile with a custom one that was generated by the extra file. It seems like you'd be better off using the binaries and editor that came with Dev but compiling externally from a batch file. Or maybe you could write a custom make file that acts like a batch file and simply calls the qmake program followed by invoking Dev's version of make.exe with the qmake-generated make file. You would select the "Use custom makefile" option for that.

      I have only messed around with custom makefiles a little, mostly with the help of Clifford, so he'll probably have a better answer for you.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.