Code/CFLite/CFNetwork: Difference between revisions

From kJams Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
This code available on this page is the results of the [https://www.elance.com/job/60986977/jobEdit CFNetwork project on eLance], and the [https://www.upwork.com/ab/applicants/885604832185917440/job-details Conversion to 64bit on upWork].  I hereby release it under the terms of the "[https://en.wikipedia.org/wiki/BSD_licenses#3-clause_license_.28.22Revised_BSD_License.22.2C_.22New_BSD_License.22.2C_or_.22Modified_BSD_License.22.29 New BSD License]".
This code available on this page is the results of the [https://www.upwork.com/ab/applicants/518086268238884864/job-details CFNetwork project on upWork], and the [https://www.upwork.com/ab/applicants/885604832185917440/job-details Conversion to 64bit on upWork].  I hereby release it under the terms of the "[https://en.wikipedia.org/wiki/BSD_licenses#3-clause_license_.28.22Revised_BSD_License.22.2C_.22New_BSD_License.22.2C_or_.22Modified_BSD_License.22.29 New BSD License]".
==How to get started==
==How to get started==
#Install [http://support.apple.com/kb/DL999 Bonjour Print Services] for Windows.  (you do not need to run the printer wizard nor set up a printer, this is just a service that CFTest makes use of)
#Install [http://support.apple.com/kb/DL999 Bonjour Print Services] for Windows.  (you do not need to run the printer wizard nor set up a printer, this is just a service that CFTest makes use of)

Revision as of 21:04, 13 July 2017

This code available on this page is the results of the CFNetwork project on upWork, and the Conversion to 64bit on upWork. I hereby release it under the terms of the "New BSD License".

How to get started

  1. Install Bonjour Print Services for Windows. (you do not need to run the printer wizard nor set up a printer, this is just a service that CFTest makes use of)
  2. download CFNetwork and put it in your development tree
  3. using Qt
    1. open CF/opencflite-476.17.2/CFLite/CFLite.pro
    2. also open CFTest/project/qt/CFTest/CFTest_win.pro
    3. your "Session" should look like this:
      qt_session.png
    4. set CFTest_win to the active project, then set it to depend on and sync with CFLite, like this:
      qt_session_dependencies.png
    5. below screen shots show 64bit debug as an example, but also set up 32bit debug, and also release of both 32 and 64
    6. how CFLite build settings should look: (ignore run settings)
      qt_build_cflite.png
    7. how CFTest build settings should look:
      qt_build_cftest.png
    8. how CFTest run settings should look:
      qt_run_cftest.png
  4. if you're using Visual Studio
    1. Open the file "CFNetwork/CFTest/win_vs/CFTest.sln".
    2. go to "Solution Explorer"
    3. select "CFTest", right click it and pick "Properties"
    4. in the "Configuration:" menu, pick "All Configurations"
    5. go to "configuration properties->debugging"
    6. set "Command" to "$(SolutionDir)build\$(TargetName).app\Contents\Windows\$(TargetFileName)".
    7. in VS2010 and later, actually you may need to just specify the full path (in step 4 above), as "$(TargetName)" does not seem to expand correctly for debug vs. release