Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.





Hello Boost.Lexical_cast using Qt Creator under Lubuntu, crosscompiled to Windows
is a Hello Boost.Lexical_cast program.
Technical facts
Operating system(s) or programming environment(s)
IDE(s):
Project type:
C++ standard:
Compiler(s):
Libraries used:
STL: GNU ISO C++ Library, version 4.9.2
Qt project file: ./CppHelloBoostLexical_CastQtCreatorLubuntuToWindows/CppHelloBoostLexical_CastQtCreatorLubuntuToWindows.pro
./CppHelloBoostLexical_CastQtCreatorLubuntuToWindows/main.cpp
./CppHelloBoostLexical_CastQtCreatorLubuntuToWindows/CppHelloBoostLexical_CastQtCreatorLubuntuToWindows.sh
#!/bin/bash
myfile="i686-pc-mingw32-qmake"
mytarget="CppHelloBoostLexical_CastQtCreatorLubuntuToWindows"
myprofile=$mytarget.pro
if [ -e $myfile ]
then
echo "MXE crosscompiler '$myfile' found"
else
echo "MXE crosscompiler '$myfile' not found directly, but perhaps it is in the PATH"
#exit
fi
if [ -e $myprofile ]
then
echo "Qt Creator project '$myprofile' found"
else
echo "Qt Creator project '$myprofile' not found"
exit
fi
echo "1/2: Creating Windows makefile"
$myfile $myprofile
if [ -e Makefile ]
then
echo "Makefile created successfully"
else
echo "FAIL: $myfile $myprofile"
exit
fi
echo "2/2: making makefile"
make
if [ -e ./release/$mytarget.exe ]
then
echo "SUCCESS"
else
echo "FAIL"
fi
#Cleaning up
rm -r release
rm -r debug
rm Makefile
rm Makefile.*
|
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.

This page has been created by the tool CodeToHtml