cross-platform

linker error using wxwidgets with cmake

可紊 提交于 2019-12-14 03:59:03
问题 I'm getting following linker error when I compile my program with VS2008 solution which is created with CMake for my wxwidgets based application. error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup but I'm able to compile the same program with a normal VS2008 solution which is not created with CMake. cmakelists.txt file contents: cmake_minimum_required(VERSION 2.8) SET(CMAKE_DEBUG_POSTFIX "d") ADD_DEFINITIONS(-DOSG_DEBUG_POSTFIX="${CMAKE_DEBUG_POSTFIX}")

How to convert Windows desktop app to Mac desktop app?

孤街浪徒 提交于 2019-12-14 03:48:51
问题 I need to convert a C# .NET Windows desktop app to Mac. I've read about the cross-platform aspects of Qt, REAL Studio, LiveCode/RunRev, wxWidgets, and Mono (www.mono-project.com and http://monodevelop.com). Is Mono the only one that can be used to directly convert? If I were developing the app from scratch, what would be the advantages and disadvantages of each of these products? I've read great things about Qt, but the commercial license is expensive. I've read much less about REAL Studio

What options are there for cross-platform (iPhone, Android, Blackberry) development?

柔情痞子 提交于 2019-12-14 02:56:14
问题 Me and my friends are starting app development. We have created 2 apps now, and have 3 more in the works. We're looking for a development tool or environment that will allow us to build games that works on all the major handsets. We're using Flash at the moment for cross-platform, but are there any better and more powerful options? Or would it be best to write the code in one language, then convert it line by line to the others? How do the creators of games like Angry Birds do it? Thanks. 回答1

Java JWebbrowser DocumentCompleted Event

我的未来我决定 提交于 2019-12-13 18:24:31
问题 I am working on chrriis.dj.nativeswing.swtimpl.components.JWebBrowser, I tried demo and everything looks fine but I was unable to find any event to detect documentcomplete 回答1: There were no answers to original question for long time, so i am reporting my findings on the problem, if someone else may like to use. As far I found there is no DocumentCompleted Event But I have achieved similar results by adding listeners using webBrowser.addWebBrowserListener(new WebBrowserListener() { public

.net core cross platform desktop app

北城余情 提交于 2019-12-13 14:27:15
问题 I'd like to develop a cross platform desktop app by using .net Core. The app needs to be executed on linux, mac os, and windows. For that purpose, should i create a console app and put below lines in settings xml? <PropertyGroup> <RuntimeIdentifiers>win10-x64;osx.10.12-x64;debian.8-x64</RuntimeIdentifiers> </PropertyGroup> Will it be sufficient? If so, should i write all platforms and separate by comma e.g. win7-x32;win10-x64;... If it is not the answer, how can i generate cross platform

Qt Application switches focus to a different application after using a file open dialog

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-13 12:31:56
问题 I'm porting one of my Qt apps to Windows after developing on OSX. I didn't have this problem with OSX, but it happens now under Windows 8. When I open and select a file with QFileDialog::getOpenFileName() , the focus switches to some other app and I have to alt-tab back into mine. How do I make Qt revert to the main app once the file is selected in the dialog instead of doing this? 回答1: You probably just forgot to set the parent for the QFileDialog - you need to pass the pointer to the

SCTP: any cross-platform library?

点点圈 提交于 2019-12-13 12:25:08
问题 I'm investigating SCTP protocol. Its features look attractive. What I worry is its support from community. Is there any good cross-platform (at least Linux and Windows) C++ (or at least C) SCTP library? Does it support async methods? 回答1: Not sure how well tested/working this is (never got to use it myself), but I looked at http://code.halssoftware.com/index.php/p/boostasiosctp/source/tree/master/boost a while ago. Let me know if that does anything for you. 回答2: Update: A cross platform

cross-platform ipc mechanism in .net framework

混江龙づ霸主 提交于 2019-12-13 09:53:41
问题 I am new to Windows technologies. I want to use an IPC mechanism for high-frequency data exchanges between processes. what are some of the cross-platform IPC mechanism available in .net framework? 回答1: Wikipedia has a great article here, describing the several possibilities of IPC. Mostly IPC is refered to as communication between processes on the same host. Therefor you are referring to 'cross plattform' it is dependant if you mean only the .Net Framework or also communication between .Net

String was no recognized as a valid Date TIme Error in Desktop Application

 ̄綄美尐妖づ 提交于 2019-12-13 07:07:12
问题 I have developed an application which is compatible with .net Framework 3.5 to run the build of it in other applications also. The O. S. of built application is Windows 7. And when I run the build in Windows XP this error occurs for following code: dtBillDate.Text = ds.Tables[0].Rows[0]["Dt"].ToString(); Here dtBillDate is a DateTimePickerControl. And the SQL query to fill ds records is: query = "Select M.BillNo,M.PartyName,M.Address,M.City,M.State,M.TaxType, M.BillType,FORMAT(M.BillDt,'dd-mm

unable to build my app

蹲街弑〆低调 提交于 2019-12-13 05:44:46
问题 Hi World App is running in simulator but not generating the BUILD files. I am getting this error goBlank: testFail: setupJavac: jar: [echo] Compile is forcing compliance to the supported API's/features for maximum device compatibility. This allows smaller [echo] code size and wider device support [copy] Copying 1 file to E:\rainforest\rfl1\rfl1-1\testcodenameone\build\tmp [javac] E:\rainforest\rfl1\rfl1-1\testcodenameone\build.xml:131: warning: 'includeantruntime' was not set, defaulting to