Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/5047ab2d2b96dc3349bb9b864aa632a54d3b9ff9?style=split&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
10 additions and
4 deletions
Sankore_3.1.pro
src/frameworks/UBPlatformUtils_mac.mm
@ -134,8 +134,9 @@ win32 {
macx {
macx {
LIBS += - framework Foundation
LIBS += - framework Foundation
LIBS += - lcrypto
LIBS += - lcrypto
LIBS += - framework AppKit
# commented because Sankore crashes on Java Script . It seems to backends dependencies .
LIBS += - framework WebKit
# LIBS += - framework AppKit
# LIBS += - framework WebKit
CONFIG ( release , debug | release ) : CONFIG += x86
CONFIG ( release , debug | release ) : CONFIG += x86
@ -10,8 +10,12 @@
#import <Foundation/NSAutoreleasePool.h>
#import <Foundation/NSAutoreleasePool.h>
#import <Carbon/Carbon.h>
#import <Carbon/Carbon.h>
#import <APELite.h>
#import <APELite.h>
/*
// commented because Sankore crashes on Java Script. It seems to backends dependencies.
#import <WebKit/WebKit.h>
#import <WebKit/WebKit.h>
#import <AppKit/AppKit.h>
#import <AppKit/AppKit.h>
*/
NSString* bundleShortVersion(NSBundle *bundle)
NSString* bundleShortVersion(NSBundle *bundle)
@ -543,13 +547,14 @@ void UBPlatformUtils::destroyKeyboardLayouts()
QString UBPlatformUtils::urlFromClipboard()
QString UBPlatformUtils::urlFromClipboard()
{
{
QString qsRet;
QString qsRet;
/*
// commented because Sankore crashes on Java Script. It seems to backends dependencies.
NSPasteboard* pPasteboard = [NSPasteboard pasteboardWithName:@"Apple CFPasteboard drag"];
NSPasteboard* pPasteboard = [NSPasteboard pasteboardWithName:@"Apple CFPasteboard drag"];
WebArchive* pArchive = [[WebArchive alloc] initWithData:[pPasteboard dataForType:@"com.apple.webarchive"]];
WebArchive* pArchive = [[WebArchive alloc] initWithData:[pPasteboard dataForType:@"com.apple.webarchive"]];
qsRet = [[[[pArchive mainResource] URL] absoluteString] UTF8String];
qsRet = [[[[pArchive mainResource] URL] absoluteString] UTF8String];
[pArchive release];
[pArchive release];
*/
return qsRet;
return qsRet;
}
}