qt ./configure on Debian - c++

I have a debian installation with qt4-dev-tools installed from apt-get.
I want to configure qt for compiling statical applications, but there is no ./configure file - i found the qt directory at /usr/share/qt4, but there is no configure.
Is there another option for configuring it or is the configure file hidden somewhere?

You need a proper build environment to configure the way your programs are built. See qmake or cmake documentation for more information. You can also use QtCreator as IDE

Related

How to install Conan build tools in the Jenkins machine

I have an installation of Jenkins on Azure and wish to build a c++ project using Conan. Many examples show the following pipeline command to initiate Conan:
def conanClient = Artifactory.newConanClient()
however this throws an error:
sh: 1: conan: not found ERROR: Couldn't execute Conan task.
RuntimeException: Conan build failed with exit code 127
I assumed the newConanClient() would install Conan but that is not the case as verified by:
sh 'conan -v' resulting in conan: not found
From the JFrog documentation you would think there shouldn't be any problems as they say:
There is no need for any special setup for it, just install Conan and
your build tools in the Jenkins machine and call the needed Conan
commands.
https://docs.conan.io/en/latest/integrations/ci/jenkins.html?highlight=jenkins
So how does one "just install Conan" in Jenkins?
From the Documentation:
Conan can be installed in many Operating Systems. It has been extensively
used and tested in Windows, Linux (different distros), OSX, and is also
actively used in FreeBSD and Solaris SunOS. There are also several
additional operating systems on which it has been reported to work.
Based on your OS, you can install from here. newConanClient() method is part of the Artifactory plugin for Jenkins but doesn't install Conan
Now you can verify the installation
conan -v
and further can execute commands in Jenkins pipeline
sh 'conan build .'

How to build setup executable for chromium from sources

How to build setup.exe or setup.dmg (for mac) of chromium browser?
I tried to read the build documentation but there is only information about how to build chromium and run it but not to build setup.exe
Setup is an executable file and you can create that file by running the following command:
ninja -C folder_to_output setup

I would like to install clang-tidy as a linter for cpp on CentOS 7 but cannot locate a package

I was able to install both llvm and clang via the epel repository. However, they do not include the clang-tidy binary. I have been searching the llvm website but they do not have any packages available for CentOS 7. The ius repository doesn't have clang-tidy either. I would like to double check before I build from source. Thank you.
Consider installing centos-release-scl to get access to Software Collections, then install llvm-toolset-7-clang-tools-extra. You can get access it with scl enable llvm-toolset-7 bash or directly at /opt/rh/llvm-toolset-7/root/bin/clang-tidy

Clamav open source antivirus

I have been trying to study the source code of clamav open source antivirus as a part of my project. Hence I downloaded the latest stable release clamav.0.99.2.tar.gz from the website.
I'm using eclipse neon.2 Release 4.6.2 on Windows 10 64-bit.
I created an existing make file project using the clamav folder extracted, and then converted it into an C/C++ autotools project.
While configuring the project, I get an error "openssl not found", Although I have installed openssl in my cygwin64 terminal and also I run the ecipse from this terminal only.
Is my approach completely wrong?
from the terminal in the linux VM, type:
sudo apt-get install libssl-dev
to install the SSL then from the clamav-0.99.2 directory type:
./configure
when that completes then type:
make
This will take a while to complete, then (if you want to actually install the clamav application) type:
make install

How setup C++ SDK in IntelliJ IDEA on linux?

I need to know how to configure the path to C++ SDK for IntelliJ IDEA 10.04.
I installed C/C++ plugin, however I don't know what is the proper path to C++ SDK.
I am using ubuntu 11.04.
after running
sudo aptitude install build-essential
then restart idea and go to terminal and run
which gcc
now copy the output into ideas settings -> IDE settings -> c/c++
and paste what you copied into the path to gcc.
do the same process for the gdb
after doing that then idea will add the sdk to the drop down menu in the create project menu
after installing the c++ plugin you should see the C/C++ project option when you create a new module - i think you're seeing the point where it's asking you for the cpp sdk location.
run
sudo aptitude install build-essential
Then restart intellij - it should autodetect that it's installed and offer you the option in the drop down instead of asking you to browse to the SDK directory