Results 1 to 20 of 35

Thread: Configuring Qmake mkspecs after it's built

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Configuring Qmake mkspecs after it's built

    Quote Originally Posted by davethomaspilot View Post
    That action isn't there in QtCreator 2.4.1.
    That's a really ancient version. Why don't you upgrade to 3.x?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  2. #2
    Join Date
    Jun 2012
    Posts
    219
    Thanks
    28
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Configuring Qmake mkspecs after it's built

    I'm using Ubuntu 12. 2.4.1 is the latest qtcreator available for it, according to apt-get.

    I started with a new version of Ubuntu, but the ia32-lib that's required for cross-compiling to a raspberry pi target isn't available for the newer Ubuntu releases. I spent a lot of time trying work-arounds with no success and got nothing but silence when I asked on various forums if anyone had a solution that didn't require a 12.x Ubuntu host.

    Will qtcreator 3.x work on Ubuntu 12? Can I get binaries using apt-get from somewhere, or would I have to build it? If I have to build it, can I use the qt4.8 binaries on that system? if I have to move up to qt5.x, then I have another pile o stuff to do to get qt5 up and going on the rpi.

    Thanks,

    Dave Thomas

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Configuring Qmake mkspecs after it's built

    Quote Originally Posted by davethomaspilot View Post
    I'm using Ubuntu 12. 2.4.1 is the latest qtcreator available for it, according to apt-get.
    Forget apt-get, download QtCreator from here: http://www.qt.io/download-open-source/#section-6

    I started with a new version of Ubuntu, but the ia32-lib that's required for cross-compiling to a raspberry pi target isn't available for the newer Ubuntu releases.
    You can use schroot or a similar tool to have a Ubuntu 12.x installation inside your Ubuntu 14.x system.

    Will qtcreator 3.x work on Ubuntu 12?
    Yes.

    Can I get binaries using apt-get from somewhere, or would I have to build it?
    The link I gave you contains downloads for a binary release of QtCreator.

    If I have to build it, can I use the qt4.8 binaries on that system? if I have to move up to qt5.x, then I have another pile o stuff to do to get qt5 up and going on the rpi.
    You are confusing two things. Creator is just a tool, it has nothing to do with version of Qt you use to write your projects with. Creator is built against Qt5 but it can work with both Qt4 and Qt5 projects. Just use the download link I gave you and all will be fine.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  4. #4
    Join Date
    Jun 2012
    Posts
    219
    Thanks
    28
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Configuring Qmake mkspecs after it's built

    You can use schroot or a similar tool to have a Ubuntu 12.x installation inside your Ubuntu 14.x system.
    I'm actually running a Vmware player on windows 7. Are you suggesting running Ubuntu 12 inside 14.x in a Vm session on windows? Why, is the latest qtcreator incompatible with Ubuntu 12?

    I understand QtCreator versus Qt libraries. But, I think I can do a lot of "GUI only" work on the Ubuntu host platform using Qt Designer and Qt4 stuff that will be compatible with what's available (without building qt) on the RPI. So, moving up to Qt5 on the host Ubuntu system would seem to only complicate things. Or, would it be easy to use a QtCreator built for Qt5, have the libraries it needs for running, but build local and target applications using Qt4? Whew....

    I started the Wizard, but I need to know what it's going to do before I run it. It looks like I choose a Qt5 version to install.

    I don't want to clobber the qt4 stuff until I understand the above issues better. Are you saying I can configure QtCreator built from Qt5 to use Qt4 for applications it builds?

    Thanks!

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Configuring Qmake mkspecs after it's built

    Quote Originally Posted by davethomaspilot View Post
    I'm actually running a Vmware player on windows 7. Are you suggesting running Ubuntu 12 inside 14.x in a Vm session on windows? Why, is the latest qtcreator incompatible with Ubuntu 12?
    No, you said you couldn't upgrade to newer kubuntu because of some missing library. I showed you how to do it - have a minimalistic Ubuntu 12 as a chroot in Ubuntu 14.

    I understand QtCreator versus Qt libraries. But, I think I can do a lot of "GUI only" work on the Ubuntu host platform using Qt Designer and Qt4 stuff that will be compatible with what's available (without building qt) on the RPI. So, moving up to Qt5 on the host Ubuntu system would seem to only complicate things. Or, would it be easy to use a QtCreator built for Qt5, have the libraries it needs for running, but build local and target applications using Qt4? Whew....
    Qt4 and Qt5 can live side by side. Qt Creator that I gave you a link to contains a bundled Qt5 environment so you don't have to build anything.

    I don't want to clobber the qt4 stuff until I understand the above issues better. Are you saying I can configure QtCreator built from Qt5 to use Qt4 for applications it builds?
    Just install the thing and stop worrying. I have a single instance of Creator working fine with Qt4 as well as Qt5, both native and cross-compiled. Creator is not tied to developing with any particular version of Qt. It just needs a particular version of Qt to run. And the binary release comes with one integrated which is totally separate from what you have in your system.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 1
    Last Post: 13th December 2014, 17:08
  2. Configuring qmake to put files inside proper folder
    By Momergil in forum Qt Programming
    Replies: 3
    Last Post: 11th May 2014, 12:02
  3. Replies: 6
    Last Post: 3rd December 2010, 20:51
  4. Replies: 5
    Last Post: 25th September 2007, 10:43
  5. 4.1.4 built from source, qmake fails with Hello World
    By Mookie in forum Installation and Deployment
    Replies: 6
    Last Post: 27th June 2006, 23:13

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.