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



CppLinkErrorUndefinedReferenceToWebCore is a
link error.
Technical facts
Application type(s)
Operating system(s) or programming environment(s)
IDE(s):
Project type:
C++ standard:
Compiler(s):
Libraries used:
Qt: version 5.4.1 (32 bit)
STL: GNU ISO C++ Library, version 4.9.2
Qt project file: ./CppLinkErrorUndefinedReferenceToWebCore/CppLinkErrorUndefinedReferenceToWebCore.pro
QT += core gui
QT += webkit
TEMPLATE = app
SOURCES += \
main.cpp\
cppqwebviewexample1dialog.cpp
HEADERS += cppqwebviewexample1dialog.h
FORMS += cppqwebviewexample1dialog.ui
|
./CppLinkErrorUndefinedReferenceToWebCore/cppqwebviewexample1dialog.h
./CppLinkErrorUndefinedReferenceToWebCore/cppqwebviewexample1dialog.cpp
./CppLinkErrorUndefinedReferenceToWebCore/main.cpp
./CppLinkErrorUndefinedReferenceToWebCore/CppLinkErrorUndefinedReferenceToWebCore.sh
#!/bin/bash
#From http://richelbilderbeek.nl/CppHelloBoostQtCreatorLubuntuToWindows.htm
echo "Cross compiling to Windows"
myfile="i686-pc-mingw32-qmake"
mytarget="CppLinkErrorUndefinedReferenceToWebCore"
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: qmake CppHelloBoostQtCreatorLubuntu.pro"
exit
fi
echo "2/2: making makefile"
make
if [ -e /release/$mytarget.exe ]
then
echo "SUCCESS"
else
echo "FAIL"
echo "Note: check if mxe can build glibc" #Knowledge
fi
#Cleaning up
rm ui_*.*
rm Makefile
rm Makefile.*
rm -r debug
rm -r release
|
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.

This page has been created by the tool CodeToHtml