How to change default used version of Qt/qmake?

1

Replace Default Qt version paths in:

/usr/lib/x86_64-linux-gnu/qt-default/qtchooser/default.conf:

/opt/Qt5/bin
/opt/Qt5/lib

Check:

qtchooser -print-env

2

PATH set

export PATH=/path/to/bin:$PATH

Reference:

Qt5 installation and path configuration

时间: 2024-10-25 22:14:10

How to change default used version of Qt/qmake?的相关文章

JDK Environment Variable And Change default JDK

Environment Variable : change(import) /etc/bashrc export JAVA_HOME=/software/jdk1.8.0 export PATH=$JAVA_HOME/bin:$PATH export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar save and exit. Change default JDK: update-alternatives --install 

How to Change Default Location for Outlook Data File (PST & OST)

Is there a way to change the default location of new .pst file when create a new e-mail account in Outlook? Different versions of Outlook use different default locations to store pst files. In this tutorial we'll show you how to change default locati

[转]how can I change default errormessage for invalid price

本文转自:http://forums.asp.net/t/1598262.aspx?how+can+I+change+default+errormessage+for+invalid+price I have: [Required(ErrorMessage = "Price is required.")] public decimal price { get; set; } How can I change default message for invalid price - I w

[WebStrom] Change default cmd to Cygwin

GO to setting, search Terminal: Change shell path : C:\cygwin\bin\bash.exe --login -i    (to the local which you install cygwin) Change the default pwd to the proejct path: Fnd the bash.bashrc file in the cygwin/etc folder, add one line at the bottom

centos7 change default interface name to eth0

#!/bin/bash DEFAULTNAME=`ls /etc/sysconfig/network-scripts/ifcfg-en*` EXPECTNAME=ifcfg-eth0 sed -i 's/DEVICE.*/DEVICE=eth0/g' $DEFAULTNAME sed -i 's/ONBOOT.*/ONBOOT=yes/g' $DEFAULTNAME mv $INITIALNAME /etc/sysconfig/network-scripts/$EXPECTNAME sed -i

unity, 不要change Default sharedMaterial

假设在场景中加一个sprite,其材质使用默认的Sprites-Default. 若调用: Color color=sprite.GetComponent<SpriteRenderer>().sharedMaterial.color;        color.a = 0;        sprite.GetComponent<SpriteRenderer>().sharedMaterial.color=color; 则将导致场景中所有使用默认Sprites-Default材质的s

Qt Style Sheets Reference

Qt Style Sheets Reference Qt Style Sheets support various properties, pseudo-states, and subcontrols that make it possible to customize the look of widgets. List of Stylable Widgets The following table lists the Qt widgets that can be customized usin

利用Qt Global Object来获取一些关于应用的信息

在Qt中,我们可以利用Qt全局变量来获取一些对我们应用有用的信息.在下面的应用中,我们可以获取如下的信息:    在上面,我们可以看到应用的状态,运行的输入参数,应用的名称及操作系统等. 我们的应用设计非常简单: import QtQuick 2.0 import Ubuntu.Components 1.1 import Ubuntu.Components.ListItems 1.0 as ListItems /*! \brief MainView with a Label and Button

How To Compile Qt with Visual Studio 2010

This post is a step-by-step guide on how to compile Qt 4.x.x with MSVC 2010. Although we use Qt 4.7.1 as an example (for historical reasons), you can also find suggestions on building newer versions of Qt by MSVC 2012 and even by Intel Compiler for b