Results 1 to 4 of 4

Thread: Linux Mint: Qt Creator (Community) Correcting Launch Path

  1. #1
    Join Date
    Nov 2016
    Posts
    2
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Linux Mint: Qt Creator (Community) Correcting Launch Path

    I'm a Linux Mint 17.3 newbie. Originally I installed QtCreator under my /home/chwa/ directory. I am trying to correct my mistake and install QtCreator in the /opt/ path.
    I have:
    - Installed QtCreator as root in the /opt/ path
    - Deleted the /home/chwa/Qt5.5.1 folder
    - Have everything working correctly for regular Qt Creator
    BUT I cannot access Qt Creator (Community). When I try to open it, it says "Failed to execute command '/home/chwa/Qt5.5.1/Tools/QtCreator/bin/qtcreator'". Obviously this is because I deleted the /home/chwa/Qt5.5.1 folder. How do I change the '/home/chwa/Qt5.5.1/Tools/QtCreator/bin/qtcreator' directory to 'opt/Qt5.5.1/Tools/QtCreator/bin/qtcreator'?
    Last edited by chwa; 16th December 2016 at 19:25.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Linux Mint: Qt Creator (Community) Correcting Launch Path

    It is not clear what the problem is but my guess is you have a launcher menu entry that doesn't work because it belongs to the previous installation?

    Then either delete that stale entry or modify it to point to the new location.

    In any case not related to Qt but a question for your distribution's forum.

    Cheers,
    _

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Linux Mint: Qt Creator (Community) Correcting Launch Path

    if the Mint flavoured Ubuntu is like mine there is a menu editor in the Settings

  4. #4
    Join Date
    Nov 2016
    Posts
    2
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: Linux Mint: Qt Creator (Community) Correcting Launch Path

    @anda_skoa
    @ChrisW67
    I honestly thought it would be some Qt environmental variable that I need to change, but you two raise a good point. The main menu I'm using is a panel application "Whisker Menu". Perhaps I can find a solution by editing its launcher settings...


    Added after 56 minutes:


    [SOLVED]
    Found out I had to change the launch directory in the *.desktop files that calls Qt Creator Community!

    Step by step:
    1. In terminal, "locate *DigiaQt-qtcreator-community.desktop*".
    2. In each of these directories, open the *.desktop file.
    3. Change the "Exec" value to the correct directory if it is incorrect.
    For me, I had to change the Exec in /home/chwa/.local/share/applications/DigiaQt-qtcreator-community.desktop* files from '/home/chwa/Qt5.5.1/Tools/QtCreator/bin/qtcreator' to 'opt/Qt5.5.1/Tools/QtCreator/bin/qtcreator'.
    Last edited by chwa; 19th December 2016 at 17:48.

Similar Threads

  1. Qt creator doesn't launch in Linux Mint for QT 5.5.1
    By te777 in forum Qt Programming
    Replies: 1
    Last Post: 7th January 2016, 14:54
  2. How to set gtk path for Qt Creator in Ubuntu.??
    By Bandu Baragali in forum Qt Programming
    Replies: 2
    Last Post: 26th June 2013, 08:25
  3. Replies: 0
    Last Post: 2nd February 2012, 20:59
  4. Replies: 2
    Last Post: 22nd November 2011, 01:09
  5. Qt Creator 1.0.0 - LIB & PATH settings in Ubuntu
    By qoo in forum Installation and Deployment
    Replies: 1
    Last Post: 20th April 2009, 09:35

Tags for this Thread

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.