Commit 4f522fca authored by David Faure's avatar David Faure

add_definitions(-DQT_NO_URL_CAST_FROM_STRING) + fix compilation

parent 807941fe
......@@ -26,6 +26,7 @@ include(ECMAddAppIcon)
include(ECMInstallIcons)
add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
# global include directories
include_directories (${CMAKE_CURRENT_BINARY_DIR})
......
......@@ -86,7 +86,7 @@ bool myPopup::eventFilter(QObject *obj, QEvent *event)
if (event -> type() == QEvent::MouseButtonPress)
{
QDesktopServices::openUrl(wikipedia);
QDesktopServices::openUrl(QUrl(wikipedia));
return true;
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment