Results 1 to 3 of 3

Thread: switching from Win to Linux - don't know how

  1. #1
    Join Date
    Aug 2009
    Posts
    122
    Thanks
    74
    Qt products
    Qt4
    Platforms
    Windows

    Default switching from Win to Linux - don't know how

    I've been using Qt 4.4.3 for some time. I don't use the special Qt environment but simply the command prompt to compile my applications: qmake -project, qmake, make.

    Now I'd like to switch to Linux (Kubuntu). Meanwhile the new Qt Creator has come out. It's a fancy nice thing but I don't want to use it right now. I'd like to be able to compile my programs using command prompt the same simple way I did it for windows. I thought I got pretty close but I keep getting the "error 127" message when I compile. The makefile may have a problem.

    Now my question:
    Does someone have simple instructions (a link) to the simplest way one could compile a Qt code under Linux. I'd appreciate it very much. Thanks!

  2. #2
    Join Date
    Apr 2010
    Posts
    769
    Thanks
    1
    Thanked 94 Times in 86 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: switching from Win to Linux - don't know how

    Post the actual build errors; the most likely problem is that you don't have g++ installed, or some other program make is looking for, but it's impossible to say from a nondescript error message alone.

  3. #3
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: switching from Win to Linux - don't know how

    And another common problem with these "hand holding" distributions is that development packages need to be installed seperatly (Why do they make it so difficult?).
    So, if you install package A, also install the A-Dev (or whatever it is called) package.

Similar Threads

  1. Switching between 2 Forms
    By strateng in forum Qt Programming
    Replies: 6
    Last Post: 4th June 2010, 08:09
  2. How to implement page switching?
    By kellen851105 in forum Qt Programming
    Replies: 1
    Last Post: 24th February 2010, 05:35
  3. Switching between two databases
    By codeman in forum Qt Programming
    Replies: 20
    Last Post: 13th May 2009, 14:33
  4. Switching 5.2 from 5.0.2
    By baray98 in forum Qwt
    Replies: 1
    Last Post: 11th May 2009, 17:59
  5. switching between pages
    By Kapil in forum Newbie
    Replies: 9
    Last Post: 6th March 2006, 10:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.