31
Programming / Re: Qt6 Development
« on: January 28, 2025, 09:35:43 am »
What's the compiler version ?
OS2World.com Forum is back !!!
Remember to visit OS2World at:
http://www.os2world.com
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
return fp.isEmpty() || (fp.at(1) != u':' && fp.at(2) != u'/') || fp.at(0) != u'/';return fp.isEmpty() || (fp.at(0) != u'/' && fp.at(1) != u':') bool QFSFileEngine::isRelativePath() const
{
Q_D(const QFSFileEngine);
const QString fp = d->fileEntry.filePath();
#ifndef Q_OS_OS2
return fp.isEmpty() || fp.at(0) != u'/';
#else
return fp.isEmpty() || (fp.at(1) != u':' && fp.at(1) != u'/');
#endif
}
fp.at(1) != u'/'fp.at(0) != u'/'F:\lang\work\qt6\qt6-webengine-os2>git worktree add ../qt6-webengine-os2-6.5.x 6
.5.x
Preparing worktree (new branch '6.5.x')
branch '6.5.x' set up to track 'origin/6.5.x'.
Updating files: 100% (216236/216236), done.
HEAD is now at 690d5480cf More OS2_SHORT_NAME fixes for compatability with rpm c
make
F:\lang\work\qt6\qt6-webengine-os2>cd..
F:\lang\work\qt6>cd qt6-webengine-os2-6.5.x
F:\lang\work\qt6\qt6-webengine-os2-6.5.x>git branch
* 6.5.x
+ main
F:\lang\work\qt6\qt6-webengine-os2-6.5.x>
Hey there,
Fill your boots if you want to try this. But our git port sucks on large repositories. I'd rather spend time fixing actual issues with qt6 that restructing the git repo. Building each module separately really isn't that difficult.
What's the sucking point of git on large repos ?
As Dave has also mentioned, try cloning https://github.com/psmedley/qt6-webengine-os2.git
The clone will more than likely hang part way through. I've had slightly more success changing acpi.psd to use MAXCPU=1 to get a successful clone.
NB: I haven't tried this with your latest git, just the ones from netlabs and an older port of yours.
emxstack -s8192 git.exe
F:\lang\work\qt6>git clone https://github.com/psmedley/qt6-webengine-os2.git qt6
w.git
Cloning into 'qt6w.git'...
remote: Enumerating objects: 547695, done.
remote: Counting objects: 100% (779/779), done.
remote: Compressing objects: 100% (615/615), done.
remote: Total 547695 (delta 321), reused 301 (delta 157), pack-reused 546916 (fr
om 1)
Receiving objects: 100% (547695/547695), 896.24 MiB | 4.67 MiB/s, done.
Resolving deltas: 100% (314167/314167), done.
Updating files: 100% (212296/212296), done.
Fill your boots if you want to try this. But our git port sucks on large repositories. I'd rather spend time fixing actual issues with qt6 that restructing the git repo. Building each module separately really isn't that difficult.
DSK_GETDEVICEPARAMS (63h) - Command Information
Command Information
A byte with bit 0 defined as follows:
Return the recommended BPB for the drive, which is the BPB for the physical device, unless it is a formatted fixed media. Then, it is the BPB that was on the media when the system was booted.
Return the BPB for the media currently in the drive. This always reads the BPB off the current media in the drive. An error is returned if the media is unformatted.
All other bits are reserved, and must be set to 0.
/* now calculate runs per second */
ulDhryStones = Number_Of_Runs * 100 / lDhryTime;
/* now calculate runs per second */
ulDhryStones = (long long)Number_Of_Runs * 100 / lDhryTime;
/* now calculate runs per second */
ulDhryStones = Number_Of_Runs * 100LL / lDhryTime;
diff --git a/source3/rpc_client/local_np.c b/source3/rpc_client/local_np.c
index 791ded99a..e8f97f127 100644
--- a/source3/rpc_client/local_np.c
+++ b/source3/rpc_client/local_np.c
@@ -555,8 +555,13 @@ struct tevent_req *local_np_connect_send(
return tevent_req_post(req, ev);
}
+#ifndef __OS2__
+ state->socketpath = talloc_asprintf(
+ state, "\\socket\\np\\%s", lower_case_pipename);
+#else
state->socketpath = talloc_asprintf(
state, "%s/np/%s", socket_dir, lower_case_pipename);
+#endif
if (tevent_req_nomem(state->socketpath, req)) {
return tevent_req_post(req, ev);
}